diff options
Diffstat (limited to 'dom/plugins/test/mochitest/plugin_scroll_invalidation.html')
-rw-r--r-- | dom/plugins/test/mochitest/plugin_scroll_invalidation.html | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/dom/plugins/test/mochitest/plugin_scroll_invalidation.html b/dom/plugins/test/mochitest/plugin_scroll_invalidation.html new file mode 100644 index 000000000..74a68ff4a --- /dev/null +++ b/dom/plugins/test/mochitest/plugin_scroll_invalidation.html @@ -0,0 +1,60 @@ +<!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> |