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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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

mercurial