gecko-dev/widget/tests/plugin_scroll_invalidation....

61 строка
1.3 KiB
HTML

<!DOCTYPE HTML>
<html>
<head>
<title>Test helper for plugin child widgets not being invalidated by scrolling</title>
<style>
body {
background: linear-gradient(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>