layout/reftests/first-letter/nested-1e.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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></span>
    17   </div>
    18   <script>
    19     document.body.offsetWidth;
    20     document.getElementsByTagName("span")[0].
    21       appendChild(document.createTextNode("This is text"));
    22   </script>
    23 </body>
    24 </html>

mercurial