Closed Bug 1736356 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 31296 - Tests for ::target-text.

Categories

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

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Tests for ::target-text.

These tests were written when ::target-text was implemented, but
changing window.location.hash for target text was not allowed at that
time, and did not allow for automated testing. Submit since that is now
possible.

target-text-004.html fails because currentColor for ::selection does not
fall back to using the text color from ::target-text.

Bug: 1136817
Change-Id: Id512caec6ef7df8380f75fe82c79af27975991d1

Reviewed-on: https://chromium-review.googlesource.com/2521513
WPT-Export-Revision: d0d0568489c3d55f7db540e80c13752e39b71f12

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

CI Results

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

Total 6 tests

Status Summary

Firefox

TIMEOUT: 6

Chrome

PASS : 4
FAIL : 2

Safari

FAIL : 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-pseudo/target-text-001.html: TIMEOUT (Chrome: PASS, Safari: FAIL)
/css/css-pseudo/target-text-002.html: TIMEOUT (Chrome: PASS, Safari: FAIL)
/css/css-pseudo/target-text-003.html: TIMEOUT (Chrome: PASS, Safari: FAIL)
/css/css-pseudo/target-text-004.html: TIMEOUT (Chrome: FAIL, Safari: FAIL)
/css/css-pseudo/target-text-005.html: TIMEOUT (Chrome: PASS, Safari: FAIL)
/css/css-pseudo/target-text-006.html: TIMEOUT (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ad800027e6d7
[wpt PR 31296] - Tests for ::target-text., a=testonly
https://hg.mozilla.org/integration/autoland/rev/5e1118f41590
[wpt PR 31296] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.