gecko-dev/layout/reftests/first-line/parent-style-2.html

14 lines
326 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
div { background: green; }
div::first-line { background-color: red; }
span.one { background: inherit; }
span.two { background-color: inherit; }
</style>
</head>
<body>
<div><span class="one">One</span><span class="two">Two</span></div>
</body>