blob: 3381697e4089a4b96439228481d555cb8a076bfe [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>::first-line on inlines</title>
<style type="text/css">
p { color: green; }
span:first-line { background: red; color: yellow; font-size: 4em; }
span::first-line { background: red; color: yellow; font-size: 4em; }
</style>
<link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
<link rel="prev" href="css3-modsel-178.html" title="Parsing: :not and pseudo-elements">
<link rel="next" href="css3-modsel-179a.html" title="::first-line after &lt;br&gt;">
<link rel="last" href="css3-modsel-d4.html" title="Dynamic updating of :first-child and :last-child">
<link rel="up" href="./index.html">
<link rel="top" href="../../index.html">
</head>
<body>
<p><span>This line should be green.</span></p>
</body>
</html>