[wpt-sync] Sync PR 64667 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=329439
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 64667 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64667
Details from upstream follow.
Antti Koivisto <antti@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=329439
WebKit export from bug: REGRESSION (<!---->318779@<!---->main)<!---->:<!----> Text selection highlight is not visible for github.<!---->com
<pre>
REGRESSION (<a href="https://commits.webkit.org/318779@main">318779@main</a>): Text selection highlight is not visible for github.comGitHub sets only custom properties in :root::selection. Since <a href="https://commits.webkit.org/318779@main">318779@main</a> highlight pseudo-element styles
inherit through the highlight cascade, so every element on the page gets a ::selection style. We used
the colors of any ::selection style we found, here a transparent background, so the selection was invisible.Implement paired defaults:
The UA default highlight colors are now used unless color or background-color has a cascaded value from
the author origin, or inherits one through the highlight cascade. A new style bit records this.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=329439">https://bugs.webkit.org/show_bug.cgi?id=329439</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/325357@main">https://commits.webkit.org/325357@main</a>
</pre>
| Assignee | ||
Updated•19 days ago
|
| Assignee | ||
Comment 1•19 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=119987
| Assignee | ||
Comment 2•19 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 40 tests and 12 subtests
Status Summary
Firefox
OK : 14
PASS: 1[GitHub] 82[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 102[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] 52[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
PASS: 2
Safari
PASS: 1
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
New Tests That Don't Pass
- /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 - /css/css-pseudo/highlight-cascade/highlight-paired-cascade-008.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari: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
- 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:
Comment 4•16 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/77e558e07926
https://hg.mozilla.org/mozilla-central/rev/38132245b54e
Description
•