1
0
Fork 0
firefox/testing/web-platform/tests/css/css-pseudo/first-letter-punctuation-dynamic.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

14 lines
502 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>CSS Pseudo-Elements Test: ::first-letter modified text node with punctuation</title>
<link rel="help" href="https://drafts.csswg.org/css-pseudo/#first-letter-pseudo">
<link rel="match" href="first-letter-punctuation-dynamic-ref.html">
<style>
#target::first-letter { color: green; }
</style>
<p>Only the 'A' below should be green.</p>
<div id="target"> .<span>B</span></div>
<script>
target.offsetTop;
target.firstChild.insertData(0, 'A');
</script>