pjs/layout/reftests/first-letter/nested-1b.html

21 строка
340 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
div { color: black; }
div::first-letter { color: green; }
</style>
</head>
<body>
<div>This is more text
<span>
This is text
</span>
</div>
<script>
document.body.offsetWidth;
document.getElementsByTagName("div")[0].firstChild.data = "";
</script>
</body>
</html>