layout/reftests/pixel-rounding/collapsed-border-left-5.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 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <title>Pixel rounding testcase</title>
     5 <style type="text/css">
     7 html, body { margin: 0; border: none; padding: 0; }
     8 div { display: table; position: absolute; }
    10 </style>
    11 </head>
    12 <body>
    14 <!-- one border -->
    15 <div style="top: 10px; left: 10.5px; width: 10px; border-top: 10px solid green"></div>
    16 <div style="top: 10px; left: 30.5px; height: 10px; border-right: 10px solid green"></div>
    17 <div style="top: 10px; left: 50.5px; width: 10px; border-bottom: 10px solid green"></div>
    18 <div style="top: 10px; left: 70.5px; height: 10px; border-left: 10px solid green"></div>
    20 <!-- two adjacent borders -->
    21 <div style="top: 10px; left: 90.5px; border-top: 10px solid green; border-right: 10px solid green"></div>
    22 <div style="top: 10px; left: 110.5px; border-bottom: 10px solid green; border-right: 10px solid green"></div>
    23 <div style="top: 10px; left: 130.5px; border-top: 10px solid green; border-left: 10px solid green"></div>
    24 <div style="top: 10px; left: 150.5px; border-bottom: 10px solid green; border-left: 10px solid green"></div>
    26 <!-- two opposite borders -->
    27 <div style="top: 10px; left: 170.5px; height: 10px; border-left: 5px solid green; border-right: 5px solid green;"></div>
    28 <div style="top: 10px; left: 190.5px; height: 10px; border-left: 5px solid green; border-right: 5px solid green;"></div>
    29 <div style="top: 10px; left: 210.5px; width: 10px; border-top: 5px solid green; border-bottom: 5px solid green"></div>
    31 <!-- three borders -->
    32 <div style="top: 10px; left: 230.5px; border-top: 5px solid green; border-right: 10px solid green; border-bottom: 5px solid green"></div>
    33 <div style="top: 10px; left: 250.5px; border-top: 5px solid green; border-left: 10px solid green; border-bottom: 5px solid green"></div>
    34 <div style="top: 10px; left: 270.5px; border-left: 5px solid green; border-right: 5px solid green; border-bottom: 10px solid green"></div>
    35 <div style="top: 10px; left: 290.5px; border-left: 5px solid green; border-right: 5px solid green; border-bottom: 10px solid green"></div>
    36 <div style="top: 10px; left: 310.5px; border-left: 5px solid green; border-right: 5px solid green; border-top: 10px solid green"></div>
    37 <div style="top: 10px; left: 330.5px; border-left: 5px solid green; border-right: 5px solid green; border-top: 10px solid green"></div>
    39 <!-- four borders -->
    40 <div style="top: 10px; left: 350.5px; border-top: 5px solid green; border-right: 5px solid green; border-bottom: 5px solid green; border-left: 5px solid green"></div>
    41 <div style="top: 10px; left: 370.5px; border-top: 5px solid green; border-right: 5px solid green; border-bottom: 5px solid green; border-left: 5px solid green"></div>
    43 <!-- border around space -->
    44 <div style="top: 30px; left: 10.5px; border: 10px solid green; height: 20px; width: 20px"></div>
    46 </body>
    47 </html>

mercurial