gecko-dev/layout/reftests/first-line/insertion-in-first-line-5.html

11 строки
231 B
HTML

<!DOCTYPE html>
<style>
div { color: red; }
div::first-line { color: green }
</style>
<div id="x"><span id="y">This should be </span></div>
<script>
x.offsetWidth;
y.appendChild(document.createTextNode('green'));
</script>