fune/testing/web-platform/tests/css/css-pseudo/parsing
Oriol Brufau 287bfe9c49 Bug 1668270 [wpt PR 25886] - [css-pseudo] Support 'line-height' property in ::marker, a=testonly
Automatic update from web-platform-tests
[css-pseudo] Support 'line-height' property in ::marker

The CSSWG resolved in https://github.com/w3c/csswg-drafts/issues/4568
that inherited properties that apply to text can be set on ::marker and
should affect the marker text.
And in https://github.com/w3c/csswg-drafts/issues/5303 it resolved that
'line-height' applies to text (as it already does in Chromium).

Therefore, this patch allows 'line-height' in ::marker. Note it was
already possibly to set it to the list item and the ::marker would
inherit it. Just letting authors set it directly to the ::marker.

Bug: 1031667

TEST=external/wpt/css/css-pseudo/marker-line-height.html
TEST=external/wpt/css/css-pseudo/parsing/marker-supported-properties-in-animation.html
TEST=external/wpt/css/css-pseudo/parsing/marker-supported-properties.html

marker-line-height.html fails in legacy because ::markers with
'content: normal' are not implemented with actual text.

Change-Id: If63095d046150a2b5f76c40fce93fce1c0e7741c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2438413
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#821293}

--

wpt-commits: 91da84149d57c560e3435866fd198d1910c22e3f
wpt-pr: 25886
2020-11-04 10:09:53 +00:00
..
marker-supported-properties-in-animation.html Bug 1668270 [wpt PR 25886] - [css-pseudo] Support 'line-height' property in ::marker, a=testonly 2020-11-04 10:09:53 +00:00
marker-supported-properties.html Bug 1668270 [wpt PR 25886] - [css-pseudo] Support 'line-height' property in ::marker, a=testonly 2020-11-04 10:09:53 +00:00
target-text.html
tree-abiding-pseudo-elements.html