commit | ca07859b132ca4eb523f9eba8715a0eacd2e559b | [log] [tgz] |
---|---|---|
author | Oriol Brufau <obrufau@igalia.com> | Fri Nov 01 21:41:26 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 01 21:41:26 2019 |
tree | 02d7841d0b0a4a4e9204497662f5b076dc9b0c2d | |
parent | 626a81e09b8055561e7168ec50cca008b7bf693a [diff] |
[css-pseudo] Apply ::marker styles to markers Currently markers are assigned a mostly empty style, it just inherits from the list item and has some customizations like `display`. This patch makes them use the style of the ::marker pseudo-element. The inheritance is also from the list item, and the customizations are applied afterwards. The change only affects markers originated by real elements. Markers originated by ::before or ::after pseudo-elements should get the styles from ::before::marker or ::after::marker, but this will 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-and-other-pseudo-elements.html TEST=external/wpt/css/css-pseudo/marker-color.html TEST=external/wpt/css/css-pseudo/marker-font-properties.html Change-Id: Ide2fbc344e4732257044ebd3e7966906af21c434 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1893265 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Oriol Brufau <obrufau@igalia.com> Cr-Commit-Position: refs/heads/master@{#711883}
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 .