1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
2 <title>CSS Test: :first-line</title>
3 <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
4 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
5 <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo" />
6 <link rel="match" href="first-line-floats-001-ref.xht"/>
7 <style type="text/css">
9 div:first-line { color: green }
13 <div><span><span style="float: left">This should be green</span></span></div>