widget/tests/plugin_scroll_invalidation.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4   <title>Test helper for plugin child widgets not being invalidated by scrolling</title>
     5   <style>
     6     body {
     7       background: linear-gradient(red, black);
     8       width: 200px;
     9       height: 200px;
    10     }
    11     embed {
    12       position:absolute;
    13     }
    14     embed#paint-waiter {
    15       top: 0px;
    16       left: 0px;
    17       width: 0px;
    18       height: 0px;
    19     }
    20     embed#e0 {
    21       top: 70px;
    22       left: 70px;
    23       width: 10px;
    24       height: 10px;
    25     }
    26     embed#e1 {
    27       top: 60px;
    28       left: 60px;
    29       width: 10px;
    30       height: 20px;
    31     }
    32     embed#e2 {
    33       top: 60px;
    34       left: 70px;
    35       width: 20px;
    36       height: 10px;
    37     }
    38     embed#e3 {
    39       top: 70px;
    40       left: 80px;
    41       width: 10px;
    42       height: 20px;
    43     }
    44     embed#e4 {
    45       top: 80px;
    46       left: 60px;
    47       width: 20px;
    48       height: 10px;
    49     }
    50   </style>
    51 </head>
    52 <body>
    53   <embed id="paint-waiter" type="application/x-test" wmode="window">
    54   <embed id="e0" type="application/x-test" wmode="window" class="scrolling"/>
    55   <embed id="e1" type="application/x-test" wmode="window" class="scrolling"/>
    56   <embed id="e2" type="application/x-test" wmode="window" class="scrolling"/>
    57   <embed id="e3" type="application/x-test" wmode="window" class="scrolling"/>
    58   <embed id="e4" type="application/x-test" wmode="window" class="scrolling"/>
    59 </body>
    60 </html>

mercurial