layout/reftests/image-element/element-paint-paintserversize-rounding-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 <!DOCTYPE html>
michael@0 6 <html>
michael@0 7 <head>
michael@0 8 <style>
michael@0 9 body > div {
michael@0 10 width: 200px;
michael@0 11 height: 200px;
michael@0 12 float: left;
michael@0 13 background-repeat: repeat;
michael@0 14 }
michael@0 15
michael@0 16 div > div {
michael@0 17 background: lime;
michael@0 18 }
michael@0 19
michael@0 20 </style>
michael@0 21 </head>
michael@0 22 <body style="margin:0">
michael@0 23 <div style="background-image: -moz-element(#eInteger)"></div>
michael@0 24 <div style="background-image: -moz-element(#eRoundUp1)"></div>
michael@0 25 <div style="background-image: -moz-element(#eRoundUp2); background-size: 100.3px;"></div>
michael@0 26 <div style="background-image: -moz-element(#eRoundDown1)"></div>
michael@0 27 <div style="background-image: -moz-element(#eRoundDown2); background-size: 99.6px;"></div>
michael@0 28
michael@0 29 <div style="overflow:hidden; height:0">
michael@0 30 <div id="eInteger" style="margin: 0.3px; width: 100px; height: 100px;"></div>
michael@0 31 <div id="eRoundUp1" style="margin: 0.3px; width: 99.6px; height: 99.6px;"></div>
michael@0 32 <div id="eRoundUp2" style="margin: 0.6px; width: 99.6px; height: 99.6px;"></div>
michael@0 33 <div id="eRoundDown1" style="margin: 0.3px; width: 100.3px; height: 100.3px;"></div>
michael@0 34 <div id="eRoundDown2" style="margin: 0.6px; width: 100.3px; height: 100.3px;"></div>
michael@0 35 </div>
michael@0 36 </body>
michael@0 37 </html>

mercurial