layout/reftests/first-letter/dynamic-3a.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     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#x::first-letter { color: blue; float: left; }
    11   </style>
    12 </head>
    13 <body>
    14 <div id="x">Need at least two letters here</div>
    15 <script>
    16   document.body.offsetWidth;
    17   var div = document.getElementById("x");
    18   div.id = "y";
    19   div.firstChild.data = "Text";
    20 </script>
    21 </body>
    22 </html>

mercurial