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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE html>
     2 <html>
     3   <head>
     4     <title>CSS 2.1 Test Suite: :first-line</title>
     5     <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
     6     <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
     7     <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line"/>
     8     <meta name="flags" content="" />
     9     <style>
    10       div { background: green; }
    11       div::first-line { background-color: red; }
    12       span.one { background: inherit; }
    13       span.two { background-color: inherit; }
    14     </style>
    15   </head>
    16   <body>
    17     <div><span class="one">One</span><span class="two">Two</span></div>
    18   </body>

mercurial