1
0
Fork 0
firefox/testing/web-platform/tests/css/css-pseudo/target-text-008-ref.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

18 lines
433 B
HTML

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<title>CSS Pseudo-Elements Test: Reference</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<style>
a::target-text {
color: lime;
background: green;
}
</style>
<p>Test passes if the link below has lime color and green background.</p>
<a href="">visited</a>
<script>
window.location.hash = "#:~:text=visited";
</script>