layout/base/tests/border_radius_hit_testing_iframe.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/tests/border_radius_hit_testing_iframe.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<title>border-radius hit testing</title>
     1.6 +<style>
     1.7 +
     1.8 +  body { margin: 0; }
     1.9 +
    1.10 +  #one, #two {
    1.11 +    border-radius: 100px 60px 40px 120px / 40px 60px 60px 80px;
    1.12 +    margin-bottom: 100px;
    1.13 +  }
    1.14 +
    1.15 +  #two { overflow: hidden }
    1.16 +
    1.17 +  #one, #two > div {
    1.18 +    height: 200px;
    1.19 +    background: blue;
    1.20 +    cursor: progress;
    1.21 +  }
    1.22 +
    1.23 +  #one:hover, #two > div:hover {
    1.24 +    background: fuchsia;
    1.25 +  }
    1.26 +
    1.27 +</style>
    1.28 +<body>
    1.29 +<div id="one"></div>
    1.30 +<div id="two"><div></div></div>

mercurial