commit | 36ef21a74a1939c3b15878dd51ccc90fecb14057 | [log] [tgz] |
---|---|---|
author | Oriol Brufau <obrufau@igalia.com> | Mon Nov 25 13:09:54 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Nov 25 13:09:54 2019 |
tree | cd171c56dfbb3002f2d0bfa1256b010569e03bb6 | |
parent | 607be16b0d669c3718477c054f090a1c2cef21b0 [diff] |
[css-pseudo] Support 'content' property in ::marker for LayoutNG This patch adds support for a ::marker PseudoElement that obeys the 'content' property similarly to ::before and ::after. This PseudoElement is only generated when 'content' is not 'normal', otherwise the marker continues being an anonymous box. This will be addressed in a follow-up patch. Also, this only works in LayoutNG, since the legacy LayoutListMarker doesn't allow children. Will also be addressed in a follow-up patch. Spec: https://drafts.csswg.org/css-pseudo-4/#marker-pseudo Bug: 457718 TEST=external/wpt/css/css-pseudo/marker-content-003.html TEST=external/wpt/css/css-pseudo/marker-content-003b.html TEST=external/wpt/css/css-pseudo/marker-content-004.html TEST=external/wpt/css/css-pseudo/marker-content-006.html Change-Id: I34097f9763cec626e898aff07681cd3e766afb49 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1930835 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Oriol Brufau <obrufau@igalia.com> Cr-Commit-Position: refs/heads/master@{#718609}
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 .