Bug 1776629 [wpt PR 34598] - [text-decorations] Add 2 tests from EXAMPLE 1 of the...
commit07d45041457251290cb6271a55ab2f50ea6ade17
authorKoji Ishii <kojii@chromium.org>
Tue, 28 Jun 2022 11:50:42 +0000 (28 11:50 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 29 Jun 2022 10:23:56 +0000 (29 10:23 +0000)
tree8575c2c9801aa471cd3a1350065c1e9313677bb0
parenta8f6fe239fd794b50b24be1f10f577f9dc4ae53d
Bug 1776629 [wpt PR 34598] - [text-decorations] Add 2 tests from EXAMPLE 1 of the spec, a=testonly

Automatic update from web-platform-tests
[text-decorations] Add 2 tests from EXAMPLE 1 of the spec

This patch adds 2 tests from the [EXAMPLE 1] of the spec.

004 ensures that underlines applied to an ancestor of an
inline formatting context should be propagated to an anonymous
inline box that surrounds the span element.

005 ensures that underlines are propagated to an in-flow
block-in-inline child.

Blink's behavior, with or without the decorating box support,
passes these tests. This is to ensure the decorating box
support doesn't break these scenarios.

[EXAMPLE 1]: https://drafts.csswg.org/css-text-decor-3/#example-d6d0ccd7

Bug: 1008951
Change-Id: If4802ac30e7ad5c31f7b6b7b5e96550ed87ab46d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3721443
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Auto-Submit: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1018118}

--

wpt-commits: 9048cffc6c6cd217e48f7d94763e021bd20cb119
wpt-pr: 34598
testing/web-platform/tests/css/css-text-decor/reference/text-decoration-subelements-004-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-text-decor/reference/text-decoration-subelements-005-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-text-decor/text-decoration-subelements-004.html [new file with mode: 0644]
testing/web-platform/tests/css/css-text-decor/text-decoration-subelements-005.html [new file with mode: 0644]