layout/reftests/bugs/433640-1.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><head>
     3 <style type="text/css">
     4   div.image {
     5     background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAAQMAAACQp+OdAAAABlBMVEUAAAD///+l2Z/dAAAAGElEQVR42mNggIHcbbfBCMEYlRqVIiQFAPco1xfL/SakAAAAAElFTkSuQmCC");
     6     background-position: center center;
     7     width: 32px;
     8     height: 32px;
     9   }
    11   div.cell {
    12     float: left;
    13     width: 100px;
    14   }
    16   body > div { height:100px; }
    18   /* ensure that font heights do not affect image placement. Fractional image offsets can
    19      affect exactly which pixel rects get painted. */
    20   p { font-size: 12px; height:20px; }
    21 </style>
    22 </head><body>
    24 <div>
    25 <div class="cell"><p>31    x 32</p><div style="width:31px"    class="image"></div></div>
    26 <div class="cell"><p>31.1  x 32</p><div style="width:31.1px"  class="image"></div></div>
    27 <div class="cell"><p>31.5  x 32</p><div style="width:31.5px"  class="image"></div></div>
    28 <div class="cell"><p>31.8  x 32</p><div style="width:31.8px"  class="image"></div></div>
    29 </div>
    31 <div>
    32 <div class="cell"><p>32    x 32</p><div style="width:32px"    class="image"></div></div>
    33 <div class="cell"><p>32.1  x 32</p><div style="width:32.1px"  class="image"></div></div>
    34 <div class="cell"><p>32.5  x 32</p><div style="width:32.5px"  class="image"></div></div>
    35 <div class="cell"><p>32.8  x 32</p><div style="width:32.8px"  class="image"></div></div>
    36 </div>
    38 <div>
    39 <div class="cell"><p>32 x 31   </p><div style="height:31px"    class="image"></div></div>
    40 <div class="cell"><p>32 x 31.1 </p><div style="height:31.1px"  class="image"></div></div>
    41 <div class="cell"><p>32 x 31.5 </p><div style="height:31.5px"  class="image"></div></div>
    42 <div class="cell"><p>32 x 31.8 </p><div style="height:31.8px"  class="image"></div></div>
    43 </div>
    45 <div>
    46 <div class="cell"><p>32 x 32   </p><div style="height:32px"    class="image"></div></div>
    47 <div class="cell"><p>32 x 32.1 </p><div style="height:32.1px"  class="image"></div></div>
    48 <div class="cell"><p>32 x 32.5 </p><div style="height:32.5px"  class="image"></div></div>
    49 <div class="cell"><p>32 x 32.8 </p><div style="height:32.8px"  class="image"></div></div>
    50 </div>
    52 </body></html>

mercurial