layout/reftests/border-radius/clipping-2.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/border-radius/clipping-2.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +<!doctype html>
     1.5 +<html><head>
     1.6 +<title>Border clipping</title>
     1.7 +<style>
     1.8 +.div1 { width: 50px; height: 50px;
     1.9 +      border: 4px dotted black; 
    1.10 +      border-radius: 10px;
    1.11 +      position: fixed;
    1.12 +      background: red;
    1.13 +      left: 50px;
    1.14 +      top: 50px;
    1.15 +      background-clip: padding-box;
    1.16 +}
    1.17 +
    1.18 +.div2 { width: 50px; height: 50px;
    1.19 +      border: 4px dotted black; 
    1.20 +      border-radius: 10px;
    1.21 +      position: fixed;
    1.22 +      background: red;
    1.23 +      left: 50px;
    1.24 +      top: 140px;
    1.25 +      background-clip: border-box;
    1.26 +}
    1.27 +
    1.28 +</style>
    1.29 +</head>
    1.30 +<body>
    1.31 +  <div class="div1"/>
    1.32 +  <div class="div2"/>
    1.33 +</body></html>

mercurial