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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/generated-content/dynamic-restyle-01.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html class="reftest-wait">
     1.6 +<head>
     1.7 +    <title>CSS 2.1 Test Suite: generated content</title>
     1.8 +    <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" />
     1.9 +    <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
    1.10 +    <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content"/>
    1.11 +    <meta name="flags" content="dom" />
    1.12 +<style>
    1.13 +body::before {
    1.14 +  content:"Before";
    1.15 +  border:inherit;
    1.16 +}
    1.17 +.cl::after {
    1.18 +  display:block;
    1.19 +  content:"After";
    1.20 +}
    1.21 +</style>
    1.22 +<script>
    1.23 +function fixupDOM() {
    1.24 +  document.body.setAttribute("style", "border:2px solid red;");
    1.25 +  document.body.className = "cl";
    1.26 +  document.documentElement.className = "";
    1.27 +}
    1.28 +</script>
    1.29 +</head>
    1.30 +<body onload="fixupDOM()">
    1.31 +</body>
    1.32 +</html>

mercurial