commit | 92111146f2316477eed77340473975dec82ffa40 | [log] [tgz] |
---|---|---|
author | Oriol Brufau <obrufau@igalia.com> | Fri Dec 06 09:54:59 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 06 09:54:59 2019 |
tree | 4e1d295910835b80735236e324d00ffb6740a41a | |
parent | 2f83652e4e009a79cdf4d40dc77bb895d845e250 [diff] |
[css-pseudo] Don't propagate style to children of normal markers In r720875 I changed the pseudo type of the style used for markers with 'content: normal' from kPseudoIdNone to kPseudoIdMarker. This had the side effect that they started to propagate style to its children, producing a 90.6%-99.9% performance regression in the flexbox_with_list_item test. This patch prevents that style propagationg for normal markers, fixing the perf regression. Markers with 'content' different than 'normal' are still propagated since it's necessary in that case. Bug: 1030884, 457718 Change-Id: Ia8341b605366ebdfd117cf569d030b38862348dc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1953723 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Oriol Brufau <obrufau@igalia.com> Cr-Commit-Position: refs/heads/master@{#722421}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .