layout/reftests/pixel-rounding/collapsed-border-left-6.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 <!DOCTYPE HTML>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>Pixel rounding testcase</title>
michael@0 5 <style type="text/css">
michael@0 6
michael@0 7 html, body { margin: 0; border: none; padding: 0; }
michael@0 8 div { display: table; position: absolute; }
michael@0 9
michael@0 10 </style>
michael@0 11 </head>
michael@0 12 <body>
michael@0 13
michael@0 14 <!-- one border -->
michael@0 15 <div style="top: 10px; left: 10.6px; width: 10px; border-top: 10px solid green"></div>
michael@0 16 <div style="top: 10px; left: 30.6px; height: 10px; border-right: 10px solid green"></div>
michael@0 17 <div style="top: 10px; left: 50.6px; width: 10px; border-bottom: 10px solid green"></div>
michael@0 18 <div style="top: 10px; left: 70.6px; height: 10px; border-left: 10px solid green"></div>
michael@0 19
michael@0 20 <!-- two adjacent borders -->
michael@0 21 <div style="top: 10px; left: 90.6px; border-top: 10px solid green; border-right: 10px solid green"></div>
michael@0 22 <div style="top: 10px; left: 110.6px; border-bottom: 10px solid green; border-right: 10px solid green"></div>
michael@0 23 <div style="top: 10px; left: 130.6px; border-top: 10px solid green; border-left: 10px solid green"></div>
michael@0 24 <div style="top: 10px; left: 150.6px; border-bottom: 10px solid green; border-left: 10px solid green"></div>
michael@0 25
michael@0 26 <!-- two opposite borders -->
michael@0 27 <div style="top: 10px; left: 170.6px; height: 10px; border-left: 5px solid green; border-right: 5px solid green;"></div>
michael@0 28 <div style="top: 10px; left: 190.6px; height: 10px; border-left: 5px solid green; border-right: 5px solid green;"></div>
michael@0 29 <div style="top: 10px; left: 210.6px; width: 10px; border-top: 5px solid green; border-bottom: 5px solid green"></div>
michael@0 30
michael@0 31 <!-- three borders -->
michael@0 32 <div style="top: 10px; left: 230.6px; border-top: 5px solid green; border-right: 10px solid green; border-bottom: 5px solid green"></div>
michael@0 33 <div style="top: 10px; left: 250.6px; border-top: 5px solid green; border-left: 10px solid green; border-bottom: 5px solid green"></div>
michael@0 34 <div style="top: 10px; left: 270.6px; border-left: 5px solid green; border-right: 5px solid green; border-bottom: 10px solid green"></div>
michael@0 35 <div style="top: 10px; left: 290.6px; border-left: 5px solid green; border-right: 5px solid green; border-bottom: 10px solid green"></div>
michael@0 36 <div style="top: 10px; left: 310.6px; border-left: 5px solid green; border-right: 5px solid green; border-top: 10px solid green"></div>
michael@0 37 <div style="top: 10px; left: 330.6px; border-left: 5px solid green; border-right: 5px solid green; border-top: 10px solid green"></div>
michael@0 38
michael@0 39 <!-- four borders -->
michael@0 40 <div style="top: 10px; left: 350.6px; border-top: 5px solid green; border-right: 5px solid green; border-bottom: 5px solid green; border-left: 5px solid green"></div>
michael@0 41 <div style="top: 10px; left: 370.6px; border-top: 5px solid green; border-right: 5px solid green; border-bottom: 5px solid green; border-left: 5px solid green"></div>
michael@0 42
michael@0 43 <!-- border around space -->
michael@0 44 <div style="top: 30px; left: 10.6px; border: 10px solid green; height: 20px; width: 20px"></div>
michael@0 45
michael@0 46 </body>
michael@0 47 </html>

mercurial