[wpt-sync] Sync PR 64107 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321426
Categories
(Core :: Layout: Generated Content, Lists, and Counters, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64107 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64107
Details from upstream follow.
Antti Koivisto <antti@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321426
WebKit export from bug: Highlight color should inherit as StyleColor
<pre>
Highlight color should inherit as StyleColorNormally currentcolor in
colorproperty resolves against the inherited parent style and can be fully resolved
during style building. However highlight pseudo-elements have special behavior where the inheritance
chain goes via the parent element's highlight style but currentcolor is resolved against the
originating element. To do this correctly we need to keep around unresolved (StyleColor) version of
the color property value we normally don't need. This field can also later be used to resolve currentcolor
against the lower highlight layer at paint time.To avoid complicating the regular paths this patch adds colorForHighlight as a separate rare data field.
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=321426">https://bugs.webkit.org/show_bug.cgi?id=321426</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/320228@main">https://commits.webkit.org/320228@main</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=113949
| Assignee | ||
Comment 2•29 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 38 tests
Status Summary
Firefox
OK : 1[GitHub] 14[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[GitHub] 82[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 101[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 1[GitHub] 46[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 51[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 1
PASS: 1
FAIL: 1
Safari
OK : 1
PASS: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-pseudo/highlight-cascade/highlight-cascade-007.html [wpt.fyi]
- M span::selection’s inherited text-shadow respects M’s font-size:
FAIL - W span::selection’s inherited text-shadow respects W’s line-height:
FAIL
- M span::selection’s inherited text-shadow respects M’s font-size:
- /css/css-pseudo/highlight-cascade/highlight-cascade-010.html [wpt.fyi]
- the custom property receives its initial value from a deferred registration:
FAIL
- the custom property receives its initial value from a deferred registration:
- /css/css-pseudo/highlight-cascade/highlight-cascade-currentcolor-color-mix.html [wpt.fyi]
- currentcolor in a color-mix() resolves against the inheriting element's own color:
FAIL(Chrome:FAIL, Safari:PASS)
- currentcolor in a color-mix() resolves against the inheriting element's own color:
- /css/css-pseudo/highlight-cascade/highlight-cascade-parent-style-change.html [wpt.fyi]
- A highlight pseudo-element inherits from the parent's new style, not its previous one:
FAIL
- A highlight pseudo-element inherits from the parent's new style, not its previous one:
- /css/css-pseudo/highlight-cascade/highlight-cascade-shadow-boundary.html [wpt.fyi]
- A highlight pseudo-element in a shadow tree inherits from the shadow host's:
FAIL - A highlight pseudo-element of slotted content inherits through the slot:
FAIL
- A highlight pseudo-element in a shadow tree inherits from the shadow host's:
- /css/css-pseudo/highlight-cascade/highlight-currentcolor-computed-inheritance.html [wpt.fyi]
- getComputedStyle() for ::selection:
FAIL - getComputedStyle() for ::target-text:
FAIL - getComputedStyle() for ::search-text:
FAIL - getComputedStyle() for ::spelling-error:
FAIL - getComputedStyle() for ::grammar-error:
FAIL - getComputedStyle() for ::highlight(foo):
FAIL
- getComputedStyle() for ::selection:
- /css/css-pseudo/highlight-cascade/highlight-currentcolor-computed-visited.html [wpt.fyi]
- getComputedStyle() for ::search-text at #target1:
FAIL - getComputedStyle() for ::search-text at #target2:
FAIL - getComputedStyle() for ::spelling-error at #target1:
FAIL - getComputedStyle() for ::spelling-error at #target2:
FAIL - getComputedStyle() for ::grammar-error at #target1:
FAIL - getComputedStyle() for ::grammar-error at #target2:
FAIL
- getComputedStyle() for ::search-text at #target1:
- /css/css-pseudo/highlight-cascade/highlight-currentcolor-computed.html [wpt.fyi]
- getComputedStyle() for ::search-text at #target1:
FAIL - getComputedStyle() for ::search-text at #target2:
FAIL - getComputedStyle() for ::spelling-error at #target1:
FAIL - getComputedStyle() for ::spelling-error at #target2:
FAIL - getComputedStyle() for ::grammar-error at #target1:
FAIL - getComputedStyle() for ::grammar-error at #target2:
FAIL
- getComputedStyle() for ::search-text at #target1:
- /css/css-pseudo/highlight-cascade/highlight-pseudos-computed-search-text.tentative.html [wpt.fyi]
- getComputedStyle() for ::search-text:
FAIL
- getComputedStyle() for ::search-text:
- /css/css-pseudo/highlight-cascade/highlight-pseudos-computed.html [wpt.fyi]
- getComputedStyle() for ::spelling-error:
FAIL - getComputedStyle() for ::grammar-error:
FAIL
- getComputedStyle() for ::spelling-error:
- /css/css-pseudo/highlight-cascade/highlight-pseudos-inheritance-computed-001.html [wpt.fyi]
- getComputedStyle() for ::selection at #child1:
FAIL - getComputedStyle() for ::selection at #child2:
FAIL - getComputedStyle() for ::target-text at #child1:
FAIL - getComputedStyle() for ::target-text at #child2:
FAIL - getComputedStyle() for ::search-text at #child1:
FAIL - getComputedStyle() for ::search-text at #child2:
FAIL - getComputedStyle() for ::spelling-error at #child1:
FAIL - getComputedStyle() for ::spelling-error at #child2:
FAIL - getComputedStyle() for ::grammar-error at #child1:
FAIL - getComputedStyle() for ::grammar-error at #child2:
FAIL - getComputedStyle() for ::highlight(foo) at #child1:
FAIL - getComputedStyle() for ::highlight(foo) at #child2:
FAIL
- getComputedStyle() for ::selection at #child1:
- /css/css-pseudo/highlight-cascade/highlight-pseudos-visited-computed-001.html [wpt.fyi]
- getComputedStyle() for ::search-text at #target1:
FAIL - getComputedStyle() for ::search-text at #target2:
FAIL - getComputedStyle() for ::spelling-error at #target1:
FAIL - getComputedStyle() for ::spelling-error at #target2:
FAIL - getComputedStyle() for ::grammar-error at #target1:
FAIL - getComputedStyle() for ::grammar-error at #target2:
FAIL
- getComputedStyle() for ::search-text at #target1:
- /css/css-pseudo/highlight-cascade/cascade-highlight-004.html [wpt.fyi]:
FAIL - /css/css-pseudo/highlight-cascade/cascade-highlight-005.html [wpt.fyi]:
FAIL - /css/css-pseudo/highlight-cascade/highlight-currentcolor-painting-properties-002.html [wpt.fyi]:
FAIL - /css/css-pseudo/highlight-cascade/highlight-currentcolor-root-explicit-default-002.html [wpt.fyi]:
FAIL - /css/css-pseudo/highlight-cascade/highlight-currentcolor-root-implicit-default-001.html [wpt.fyi]:
FAIL
Comment 4•22 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d1c3b9c00c5d
https://hg.mozilla.org/mozilla-central/rev/a0320b79c3b9
Description
•