[css-pseudo] Don't update non-normal markers if list-style-type changes
If a ::marker has the 'content' property set to something different than 'normal', then the contents of the marker should be determined according to that value, not from 'list-style-type'. Before this patch, the behavior was already correct when laying out the marker for the first time. But if 'list-style-type' changed afterwards, the marker was updated to reflect the new value, ignoring 'content'. BUG=457718 TEST=external/wpt/css/css-pseudo/marker-content-021.html The test fails in legacy since 'content' is not supported yet. Change-Id: Id845774739927c9c574a66e9d1cc94e6ea59d5e5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2020957Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Oriol Brufau <obrufau@igalia.com> Cr-Commit-Position: refs/heads/master@{#736105}
Showing
Please register or sign in to comment