layout/reftests/border-radius/scrollbar-clamping-2.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <title>Test of reduction of border-radius for scrollbars (background drawing)</title>
michael@0 3 <style>
michael@0 4
michael@0 5 .contain { height: 130px; position: relative }
michael@0 6
michael@0 7 .test {
michael@0 8 position: absolute;
michael@0 9 top: 0;
michael@0 10 left: 0;
michael@0 11 border: medium solid transparent;
michael@0 12 background: blue;
michael@0 13 border-width: 2px 4px 8px 10px;
michael@0 14 height: 100px;
michael@0 15 width: 200px;
michael@0 16 border-radius: 12px / 15px;
michael@0 17 }
michael@0 18
michael@0 19 .cover {
michael@0 20 position: absolute;
michael@0 21 width: 200px;
michael@0 22 height: 100px;
michael@0 23 top: 2px;
michael@0 24 left: 10px;
michael@0 25 background: blue;
michael@0 26 }
michael@0 27
michael@0 28 #x, #xy { overflow-x: scroll }
michael@0 29 #y, #xy { overflow-y: scroll }
michael@0 30
michael@0 31 </style>
michael@0 32
michael@0 33 <div class="contain">
michael@0 34 <div class="test" id="x"></div>
michael@0 35 <div class="cover" style="margin-top: 50px; height: 50px"></div>
michael@0 36 </div>
michael@0 37
michael@0 38 <div class="contain">
michael@0 39 <div class="test" id="y"></div>
michael@0 40 <div class="cover" style="margin-left: 100px; width: 100px"></div>
michael@0 41 </div>
michael@0 42
michael@0 43 <div class="contain">
michael@0 44 <div class="test" id="xy"></div>
michael@0 45 <div class="cover"></div>
michael@0 46 </div>

mercurial