widget/tests/plugin_scroll_invalidation.html
author Alexander Surkov <surkov.alexander@gmail.com>
Thu, 03 Feb 2011 19:02:26 +0100
branchGECKO20b11_2011020209_RELBRANCH
changeset 61868 7893f45c72c5dd307ed6747c7d351375586bcad9
parent 35699 f20c4c211ac85da40ed2b1098ea1c5049c9e621e
child 128082 434c6e6948135ece3d1c81c393f7d381114ff7fc
permissions -rw-r--r--
Bug 631160 - embedded accessible may expose wrong text, r=davidb, r=marcoz, a=blocking

<!DOCTYPE HTML>
<html>
<head>
  <title>Test helper for plugin child widgets not being invalidated by scrolling</title>
  <style>
    body {
      background: -moz-linear-gradient(top, red, black);
      width: 200px;
      height: 200px;
    }
    embed {
      position:absolute;
    }
    embed#paint-waiter {
      top: 0px;
      left: 0px;
      width: 0px;
      height: 0px;
    }
    embed#e0 {
      top: 70px;
      left: 70px;
      width: 10px;
      height: 10px;
    }
    embed#e1 {
      top: 60px;
      left: 60px;
      width: 10px;
      height: 20px;
    }
    embed#e2 {
      top: 60px;
      left: 70px;
      width: 20px;
      height: 10px;
    }
    embed#e3 {
      top: 70px;
      left: 80px;
      width: 10px;
      height: 20px;
    }
    embed#e4 {
      top: 80px;
      left: 60px;
      width: 20px;
      height: 10px;
    }
  </style>
</head>
<body>
  <embed id="paint-waiter" type="application/x-test" wmode="window">
  <embed id="e0" type="application/x-test" wmode="window" class="scrolling"/>
  <embed id="e1" type="application/x-test" wmode="window" class="scrolling"/>
  <embed id="e2" type="application/x-test" wmode="window" class="scrolling"/>
  <embed id="e3" type="application/x-test" wmode="window" class="scrolling"/>
  <embed id="e4" type="application/x-test" wmode="window" class="scrolling"/>
</body>
</html>