1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/border-radius/clipping-5-overflow-hidden.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<title>Test for clipping of border-radius</title> 1.6 +<style> 1.7 +body > div { 1.8 + /* padding box is 100px by 200px */ 1.9 + display: inline-block; /* so margin doesn't collapse with body's */ 1.10 + height: 99px; 1.11 + width: 194px; 1.12 + overflow: hidden; 1.13 + border-color: transparent; 1.14 + border-style: solid; 1.15 + border-width: 1px 2px 4px 8px; 1.16 + padding: 0px 1px 1px 5px; 1.17 + margin: 17px; 1.18 + border-radius: 25px 17px 14px 18px / 12px 15px 18px 17px; 1.19 +} 1.20 +body > div > div { 1.21 + background: lime; 1.22 + height: 100px; 1.23 + width: 200px; 1.24 + margin-left: -5px; 1.25 +} 1.26 +</style> 1.27 +<div><div></div></div>