widget/tests/plugin_scroll_invalidation.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/widget/tests/plugin_scroll_invalidation.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,60 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <title>Test helper for plugin child widgets not being invalidated by scrolling</title>
     1.8 +  <style>
     1.9 +    body {
    1.10 +      background: linear-gradient(red, black);
    1.11 +      width: 200px;
    1.12 +      height: 200px;
    1.13 +    }
    1.14 +    embed {
    1.15 +      position:absolute;
    1.16 +    }
    1.17 +    embed#paint-waiter {
    1.18 +      top: 0px;
    1.19 +      left: 0px;
    1.20 +      width: 0px;
    1.21 +      height: 0px;
    1.22 +    }
    1.23 +    embed#e0 {
    1.24 +      top: 70px;
    1.25 +      left: 70px;
    1.26 +      width: 10px;
    1.27 +      height: 10px;
    1.28 +    }
    1.29 +    embed#e1 {
    1.30 +      top: 60px;
    1.31 +      left: 60px;
    1.32 +      width: 10px;
    1.33 +      height: 20px;
    1.34 +    }
    1.35 +    embed#e2 {
    1.36 +      top: 60px;
    1.37 +      left: 70px;
    1.38 +      width: 20px;
    1.39 +      height: 10px;
    1.40 +    }
    1.41 +    embed#e3 {
    1.42 +      top: 70px;
    1.43 +      left: 80px;
    1.44 +      width: 10px;
    1.45 +      height: 20px;
    1.46 +    }
    1.47 +    embed#e4 {
    1.48 +      top: 80px;
    1.49 +      left: 60px;
    1.50 +      width: 20px;
    1.51 +      height: 10px;
    1.52 +    }
    1.53 +  </style>
    1.54 +</head>
    1.55 +<body>
    1.56 +  <embed id="paint-waiter" type="application/x-test" wmode="window">
    1.57 +  <embed id="e0" type="application/x-test" wmode="window" class="scrolling"/>
    1.58 +  <embed id="e1" type="application/x-test" wmode="window" class="scrolling"/>
    1.59 +  <embed id="e2" type="application/x-test" wmode="window" class="scrolling"/>
    1.60 +  <embed id="e3" type="application/x-test" wmode="window" class="scrolling"/>
    1.61 +  <embed id="e4" type="application/x-test" wmode="window" class="scrolling"/>
    1.62 +</body>
    1.63 +</html>

mercurial