forked from mirrors/gecko-dev
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
4 lines
189 B
HTML
4 lines
189 B
HTML
<!doctype html>
|
|
<title>CSS Test Reference</title>
|
|
<p>PASS if the text below is rendered black on an orange background.</p>
|
|
<p><span style="color:black;background:orange">match me<span></p>
|