layout/reftests/image-element/element-paint-background-size-02.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.)

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/licenses/publicdomain/
michael@0 4
michael@0 5 Test with background-size.
michael@0 6 -->
michael@0 7 <html>
michael@0 8 <body style="filter:url(#thresholdAt128);">
michael@0 9 <div style="width:80px; height:80px; border:1px solid black;
michael@0 10 background:-moz-element(#d) no-repeat;
michael@0 11 background-size:100%"></div>
michael@0 12 <div style="overflow:hidden; height:0;">
michael@0 13 <div id="d" style="border:10px solid red; width:20px; height:20px;
michael@0 14 background:yellow;"></div>
michael@0 15 </div>
michael@0 16 <svg>
michael@0 17 <filter id="thresholdAt128" color-interpolation-filters="sRGB">
michael@0 18 <feColorMatrix type="matrix"
michael@0 19 values="255 0 0 0 -128
michael@0 20 0 255 0 0 -128
michael@0 21 0 0 255 0 -128
michael@0 22 0 0 0 255 -128"/>
michael@0 23
michael@0 24 </filter>
michael@0 25 </svg>
michael@0 26 </body>
michael@0 27 </html>

mercurial