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

11 строки
211 B
HTML

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