Closed Bug 1672532 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 26125 - Implement support for ::target-text behind a flag.

Categories

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

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Rune Lillesveen <futhark@chromium.org>' wrote:

Implement support for ::target-text behind a flag.

This implements the style support for the pseudo element. The paint code
needs to query the pseudo style during painting and paint invalidation
needs to be added.

Bug: 1136817
Change-Id: I933c4de5f473c25000f9a34efa00a5af2cc52232
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463563
Reviewed-by: Dmitry Gozman \<dgozman@chromium.org>
Reviewed-by: Anders Hartvoll Ruud \<andruud@chromium.org>
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#818939}

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

CI Results

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

Total 2 tests and 10 subtests

Status Summary

Firefox

OK : 2
PASS: 6
FAIL: 5

Chrome

OK : 2
PASS: 6
FAIL: 5

Safari

OK : 2
PASS: 6
FAIL: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-pseudo/target-text-computed.html
getComputedStyle() for ::target-text: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-pseudo/parsing/target-text.html
"::target-text" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
".a::target-text" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
"div ::target-text" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
"::part(my-part)::target-text" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/635dfbc71cac [wpt PR 26125] - Implement support for ::target-text behind a flag., a=testonly https://hg.mozilla.org/integration/autoland/rev/1df7d15ccb83 [wpt PR 26125] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.