layout/reftests/image-element/element-paint-recursion.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 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/licenses/publicdomain/
     5      Test painting elements recursively using each other as background.
     6 -->
     7 <html>
     8 <body>
     9   <p id="d" style="width:100px; height:100px; border:10px solid black;
    10                    background:-moz-element(#d);"></p>
    11   <div id="e">
    12     <div style="width:100px; height:100px; border:10px solid blue;
    13                 background:-moz-element(#e);"></div>
    14   </div>
    15   <div id="f"></div>
    16   <!-- test zero-sized images -->
    17   <p style="width:100px; height:100px; border:10px solid green;
    18             background:-moz-element(#f) yellow;"></div>
    19   <div id="g">
    20     <div style="width:100px; height:100px; border:10px solid cyan;
    21                 background:-moz-element(#h);"></div>
    22   </div>
    23   <div id="h">
    24     <div style="width:100px; height:100px; border:10px solid magenta;
    25                 background:-moz-element(#g);"></div>
    26   </div>
    27 </body>
    28 </html>

mercurial