layout/reftests/first-letter/nested-1c.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-letter</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-letter"/>
     8   <meta name="flags" content="dom" />
     9   <style>
    10   div { color: black; }
    11   div::first-letter { color: green; }
    12   </style>
    13 </head>
    14 <body>
    15   <div>
    16     <span>
    18     </span>
    19   </div>
    20   <script>
    21     document.body.offsetWidth;
    22     document.getElementsByTagName("span")[0].firstChild.data = "This is text";
    23   </script>
    24 </body>
    25 </html>

mercurial