35 lines
406 B
HTML
35 lines
406 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<style>
|
|
div::first-letter {
|
|
color: green;
|
|
}
|
|
</style>
|
|
|
|
<body>
|
|
<p>This test checks that display property is ignored in ::first-letter pseudo-element.</p>
|
|
<p>The tests passes if you see 5 lines with "Text" and the first letter green.</p>
|
|
|
|
<div>
|
|
Text
|
|
</div>
|
|
|
|
<div>
|
|
Text
|
|
</div>
|
|
|
|
<div>
|
|
Text
|
|
</div>
|
|
|
|
<div>
|
|
Text
|
|
</div>
|
|
|
|
<div>
|
|
Text
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|