layout/reftests/box-shadow/boxshadow-dynamic.xul

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 <?xml version="1.0"?>
     2 <?xml-stylesheet type="text/css" href="data:text/css,
     4 hbox {
     5   margin: 50px;
     6   background: yellow;
     7 }
     9 hbox[x] {
    10   box-shadow: 1px 2px 2px black, 0 0 7px white, 0 0 14px rgb(50, 170, 255), 0 0 21px rgb(50, 170, 255);
    11   border-radius: 10px;
    12 }
    14 "?>
    15 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    16         class="reftest-wait">
    18   <script>
    19   <![CDATA[
    21   document.documentElement.addEventListener("MozReftestInvalidate", 
    22     doTest, false);
    24   function doTest() {
    25     document.getElementById("hbox1").setAttribute("x",1);
    26     document.documentElement.removeAttribute("class"); 
    27   }
    29   ]]>
    30   </script>
    32   <hbox id="hbox1" flex="1"/>
    33 </window>

mercurial