commit | 5fcbf941a3a8a7b8140493e9c63068a9f3802301 | [log] [tgz] |
---|---|---|
author | Oriol Brufau <obrufau@igalia.com> | Wed Dec 18 11:22:39 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Dec 18 11:22:39 2019 |
tree | 93ead538d1d08e1a680184f7938c451b2326bc5c | |
parent | 99063641ec37b2ad9a8e7d74dcd2ef8e274585f8 [diff] |
[css-pseudo] Unify the default styles for ::marker This patch avoids triplicating the default styles for the ::marker pseudo-element in StyleResolver, LayoutListMarker and LayoutNGListItem. Now they will only be in StyleResolver. When no style has been specified for ::marker, using StyleResolver has some overhead that reduces the the flexbox_with_list_item.html perf test by 2%-5%. But unifying the code for ::marker styles seems worth it, since it will be necessary to avoid some inconsistences like the propagation of text decorations. BUG=457718 Change-Id: I9b30d43321f8076873256e20f97779bc279ec940 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1971929 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Oriol Brufau <obrufau@igalia.com> Cr-Commit-Position: refs/heads/master@{#725913}
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 .