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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/first-line/parent-style-3.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <title>CSS 2.1 Test Suite: :first-line</title>
     1.8 +    <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
     1.9 +    <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
    1.10 +    <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line"/>
    1.11 +    <meta name="flags" content="" />
    1.12 +    <style>
    1.13 +      div, p { background: green; }
    1.14 +      div::first-line, p::first-line { background-color: red; }
    1.15 +      span.one { background: inherit; }
    1.16 +      span.two { background-color: inherit; }
    1.17 +    </style>
    1.18 +  </head>
    1.19 +  <body>
    1.20 +    <div><p><span class="one">One</span><span class="two">Two</span></p></div>
    1.21 +  </body>

mercurial