gecko/layout/reftests/first-line/parent-style-3.html

14 lines
351 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<style>
2008-10-20 12:00:26 -07:00
div, p { background: green; }
div::first-line, p::first-line { background-color: red; }
span.one { background: inherit; }
span.two { background-color: inherit; }
</style>
</head>
<body>
<div><p><span class="one">One</span><span class="two">Two</span></p></div>
</body>