gecko/widget/tests/plugin_scroll_invalidation.html

61 lines
1.3 KiB
HTML
Raw Normal View History

<!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>