layout/reftests/generated-content/dynamic-restyle-01.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <head>
     4     <title>CSS 2.1 Test Suite: generated content</title>
     5     <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" />
     6     <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
     7     <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content"/>
     8     <meta name="flags" content="dom" />
     9 <style>
    10 body::before {
    11   content:"Before";
    12   border:inherit;
    13 }
    14 .cl::after {
    15   display:block;
    16   content:"After";
    17 }
    18 </style>
    19 <script>
    20 function fixupDOM() {
    21   document.body.setAttribute("style", "border:2px solid red;");
    22   document.body.className = "cl";
    23   document.documentElement.className = "";
    24 }
    25 </script>
    26 </head>
    27 <body onload="fixupDOM()">
    28 </body>
    29 </html>

mercurial