1
0
Fork 0
firefox/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-selection-transparency-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

13 lines
No EOL
347 B
HTML

<!DOCTYPE html>
<meta charset="UTF-8">
<style>
#highlighted {
background: yellow;
}
</style>
<body><span id="highlighted">This should be yellow, <span id="selected">this should mix with the
selection,</span></span> this should have no background.
<script>
getSelection().setBaseAndExtent(selected, 0, selected, 1);
</script>