1
0
Fork 0
firefox/testing/web-platform/tests/css/css-pseudo/highlight-painting-005-crash.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

13 lines
665 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html><meta charset="utf-8">
<title>CSS Pseudo-Elements Test: highlight painting with display:contents</title>
<link rel="author" name="Delan Azabani" href="mailto:dazabani@igalia.com">
<link rel="help" href="https://crbug.com/1429198">
<meta name="assert" value="Checks that highlight painting does not crash when the originating element has decorations that are ineffective due to display being contents.">
<style>
body { display: contents; text-decoration: underline; }
::selection { /* force full highlight overlay painting */ text-decoration: line-through; }
</style>
test
<script>
document.execCommand("selectAll");
</script>