layout/reftests/image-element/element-paint-simple.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/licenses/publicdomain/
     5      Test a simple element painting.
     6      Note: if background is repeated, a temporary surface will be created to
     7      hold the paint server image, which results in a reftest failure:
     8      temporary surfaces use the RGBA 32bit format, but the fonts are rendered
     9      with a deeper format (more than 32bit), so when rendering a font to a
    10      temporary surface, we lose some color information.
    11 -->
    12 <html>
    13 <body>
    14   <p style="width:60%; border:1px solid black; margin-left:100px;
    15             background:-moz-element(#d); background-repeat:no-repeat;">
    16     "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
    17     tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
    18     veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
    19     commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
    20     velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
    21     cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
    22     est laborum."
    23   </p>
    24   <div style="overflow:hidden; height:0;">
    25     <div id="d" style="border:2px solid red; width:50px; height:50px;">A</div>
    26   </div>
    27 </body>
    28 </html>

mercurial