layout/reftests/pixel-rounding/collapsed-border-top-4.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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: 10.4px; left: 10px; width: 10px; border-top: 10px solid green"></div>
    16 <div style="top: 10.4px; left: 30px; height: 10px; border-right: 10px solid green"></div>
    17 <div style="top: 10.4px; left: 50px; width: 10px; border-bottom: 10px solid green"></div>
    18 <div style="top: 10.4px; left: 70px; height: 10px; border-left: 10px solid green"></div>
    20 <!-- two adjacent borders -->
    21 <div style="top: 10.4px; left: 90px; border-top: 10px solid green; border-right: 10px solid green"></div>
    22 <div style="top: 10.4px; left: 110px; border-bottom: 10px solid green; border-right: 10px solid green"></div>
    23 <div style="top: 10.4px; left: 130px; border-top: 10px solid green; border-left: 10px solid green"></div>
    24 <div style="top: 10.4px; left: 150px; border-bottom: 10px solid green; border-left: 10px solid green"></div>
    26 <!-- two opposite borders -->
    27 <div style="top: 10.4px; left: 170px; width: 10px; border-top: 5px solid green; border-bottom: 5px solid green;"></div>
    28 <div style="top: 10.4px; left: 190px; width: 10px; border-top: 5px solid green; border-bottom: 5px solid green;"></div>
    29 <div style="top: 10.4px; left: 210px; height: 10px; border-right: 5px solid green; border-left: 5px solid green"></div>
    31 <!-- three borders -->
    32 <div style="top: 10.4px; left: 230px; border-right: 5px solid green; border-bottom: 10px solid green; border-left: 5px solid green"></div>
    33 <div style="top: 10.4px; left: 250px; border-right: 5px solid green; border-top: 10px solid green; border-left: 5px solid green"></div>
    34 <div style="top: 10.4px; left: 270px; border-top: 5px solid green; border-bottom: 5px solid green; border-left: 10px solid green"></div>
    35 <div style="top: 10.4px; left: 290px; border-top: 5px solid green; border-bottom: 5px solid green; border-left: 10px solid green"></div>
    36 <div style="top: 10.4px; left: 310px; border-top: 5px solid green; border-bottom: 5px solid green; border-right: 10px solid green"></div>
    37 <div style="top: 10.4px; left: 330px; border-top: 5px solid green; border-bottom: 5px solid green; border-right: 10px solid green"></div>
    39 <!-- four borders -->
    40 <div style="top: 10.4px; left: 350px; 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: 10.4px; left: 370px; 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: 30.4px; left: 10px; border: 10px solid green; height: 20px; width: 20px"></div>
    46 </body>
    47 </html>

mercurial