layout/reftests/transform/descendant-1.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.

     1 <html>
     2 <head>
     3   <style>
     4     #div1 {
     5       background: green;
     6       height: 100px;
     7       width: 100px;
     8     }
     9     span {
    10       background: yellow;
    11     }
    12     #div1 div {-moz-transform: translate(20px, 150px);
    13                -moz-transform-origin: 0% 0%;
    14     }
    15   </style>
    16 </head>
    17 <body>
    18   <div id="div1">
    19     <div><span>span 1</span></div>
    20   </div>
    21   <span>span 2</span>
    22 </body>
    23 </html>

mercurial