Bug
1733199 [wpt PR 30985] - Style: Remove AppliedTextDecoration declared at display:contents elements, a=testonly
Automatic update from web-platform-tests
Style: Remove AppliedTextDecoration declared at display:contents elements
Text decorations declared at display:contents elements should be
ignored.
* StyleAdjuster::AdjustComputedStyle():
Copy AppliedTextDecoration instances from |layout_parent_style|
instead of |parent_style|.
This change is for elements which are children of a display:contents
element.
* StyleResolver::CreateInheritedDisplayContentsStyleIfNeeded():
Drop AppliedTextDecoration declared at |parent_style|.
This change is for |Text| node wrappers which are children of a
display:contents element.
* LayoutTreeBuilderForText::CreateLayoutObject():
Text should have a ComputedStyle same as its wrapper.
This change is for |Text| node which are children of a
display:contents element.
The new behavior matches to Firefox and Safari.
Bug:
1252619,
1253243
Change-Id: I66bdbd61b2f4f6ea668d81c6a882f65113d74b4e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3187550
Auto-Submit: Kent Tamura <tkent@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#925670}
--
wpt-commits:
59508ecba558b6ac288ea59f65d052eda41406d2
wpt-pr: 30985