1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/border-radius/intersecting-clipping-1-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,53 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<title>Test for clipping of border-radius</title> 1.6 +<style> 1.7 +#contain { 1.8 + width: 200px; 1.9 + height: 100px; 1.10 + position: relative; 1.11 +} 1.12 +#contain > div { 1.13 + overflow: hidden; 1.14 + width: 200px; 1.15 + height: 100px; 1.16 + border-radius: 50px / 20px; 1.17 +} 1.18 +#contain > div > div { 1.19 + border-radius: 20px / 40px; 1.20 + overflow: hidden; 1.21 + width: 200px; 1.22 + height: 100px; 1.23 + background: lime; 1.24 +} 1.25 + 1.26 +#contain > div.spot { 1.27 + position: absolute; 1.28 + height: 1px; 1.29 + width: 1px; 1.30 +} 1.31 + 1.32 +</style> 1.33 +<div id="contain"> 1.34 +<div><div></div></div> 1.35 + 1.36 +<!-- 1.37 +This is just like the test, except we'll add a bunch of spots in various 1.38 +places that should match the background of what they're on. 1.39 +--> 1.40 + 1.41 +<div class="spot" style="top: 1px; left: 15px; background: white"></div> 1.42 +<div class="spot" style="top: 14px; left: 2px; background: white"></div> 1.43 +<div class="spot" style="top: 18px; left: 0px; background: white"></div> 1.44 +<div class="spot" style="top: 82px; left: 198px; background: white"></div> 1.45 +<div class="spot" style="top: 97px; left: 180px; background: white"></div> 1.46 +<div class="spot" style="top: 2px; left: 180px; background: white"></div> 1.47 +<div class="spot" style="top: 17px; left: 198px; background: white"></div> 1.48 +<div class="spot" style="top: 97px; left: 19px; background: white"></div> 1.49 +<div class="spot" style="top: 82px; left: 1px; background: white"></div> 1.50 + 1.51 +<div class="spot" style="top: 10px; left: 8px; background: lime"></div> 1.52 +<div class="spot" style="top: 89px; left: 8px; background: lime"></div> 1.53 +<div class="spot" style="top: 10px; left: 191px; background: lime"></div> 1.54 +<div class="spot" style="top: 89px; left: 191px; background: lime"></div> 1.55 + 1.56 +</div>