layout/reftests/border-radius/scrollbar-clamping-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 <title>Test of reduction of border-radius for scrollbars (border drawing)</title>
     3 <style>
     5 .contain { height: 130px; position: relative }
     7 .test {
     8   position: absolute;
     9   top: 0;
    10   left: 0;
    11   border: medium solid blue;
    12   border-width: 2px 4px 8px 10px;
    13   height: 100px;
    14   width: 200px;
    15   border-radius: 12px / 15px;
    16 }
    18 .cover {
    19   position: absolute;
    20   width: 200px;
    21   height: 100px;
    22   top: 2px;
    23   left: 10px;
    24   background: blue;
    25 }
    27 #x, #xy { overflow-x: scroll }
    28 #y, #xy { overflow-y: scroll }
    30 </style>
    32 <div class="contain">
    33   <div class="test" id="x"></div>
    34   <div class="cover" style="border-top-right-radius: 5px"></div>
    35 </div>
    37 <div class="contain">
    38   <div class="test" id="y"></div>
    39   <div class="cover"></div>
    40 </div>
    42 <div class="contain">
    43   <div class="test" id="xy"></div>
    44   <div class="cover"></div>
    45 </div>

mercurial