Closed Bug 1895830 Opened 9 months ago Closed 9 months ago

[wpt-sync] Sync PR 46179 - CSS highlight pseudos: initial style support for ::search-text

Categories

(Core :: Layout: Generated Content, Lists, and Counters, task, P4)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 46179 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/46179
Details from upstream follow.

Delan Azabani <dazabani@igalia.com> wrote:

CSS highlight pseudos: initial style support for ::search-text

This patch adds a new runtime enabled feature for ::search-text
(SearchTextHighlightPseudo), new PseudoId and PseudoType and devtools
protocol variants, and two new StyleHighlightData fields for the
active and inactive styles. No web-facing behaviour changes.

Bug: 339298411
Change-Id: I2f12acd9580ae03dbdd816a03cbb68017864d136
Reviewed-on: https://chromium-review.googlesource.com/5515107
WPT-Export-Revision: d5da89867d93c73089eec75c6c7877d40b9bf317

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 30 subtests

Status Summary

Firefox

OK : 1
PASS: 18
FAIL: 12

Chrome

OK : 1
PASS: 18
FAIL: 12

Safari

OK : 1
PASS: 18
FAIL: 12

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-pseudo/parsing/highlight-pseudos-001.tentative.html [wpt.fyi]
    • "::search-text" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
    • ".a::search-text" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
    • "div ::search-text" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
    • "::part(my-part)::search-text" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
    • "::search-text:current" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
    • ".a::search-text:current" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
    • "div ::search-text:current" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
    • "::part(my-part)::search-text:current" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
    • "::search-text:not(:current)" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
    • ".a::search-text:not(:current)" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
    • "div ::search-text:not(:current)" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
    • "::part(my-part)::search-text:not(:current)" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d64fc1c09b76 [wpt PR 46179] - CSS highlight pseudos: parse ::search-text and ::search-text:current, a=testonly https://hg.mozilla.org/integration/autoland/rev/2e71917d6d1a [wpt PR 46179] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.