fune/testing/web-platform/tests/css/css-pseudo/target-text-lime-green-ref.html
Rune Lillesveen d6a4e13354 Bug 1736356 [wpt PR 31296] - Tests for ::target-text., a=testonly
Automatic update from web-platform-tests
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, 1147859
Change-Id: Id512caec6ef7df8380f75fe82c79af27975991d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521513
Reviewed-by: Manuel Rego <rego@igalia.com>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#933854}

--

wpt-commits: d493ce131ffdedcea7f09d8c5055f7523b5b746b
wpt-pr: 31296
2021-10-29 10:24:24 +00:00

4 lines
258 B
HTML

<!doctype html>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<p>PASS if there are two segments of lime squares with a green square between below.</p>
<p style="font-family:Ahem"><span style="color:lime;background:green">match me</span></p>