| Index: LayoutTests/compositing/overflow/update-widget-positions-on-nested-frames-and-scrollers.html
|
| diff --git a/LayoutTests/compositing/overflow/update-widget-positions-on-nested-frames-and-scrollers.html b/LayoutTests/compositing/overflow/update-widget-positions-on-nested-frames-and-scrollers.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6989fad9b1a3f92448bb66541c34817fdbd01913
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/overflow/update-widget-positions-on-nested-frames-and-scrollers.html
|
| @@ -0,0 +1,31 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <style>
|
| + iframe {
|
| + top: 0;
|
| + left: 0;
|
| + height: 500px;
|
| + width: 500px;
|
| + border: 2px solid black;
|
| + }
|
| + </style>
|
| + <script>
|
| + if (window.testRunner)
|
| + testRunner.waitUntilDone();
|
| + if (window.internals)
|
| + window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
|
| + </script>
|
| +</head>
|
| +
|
| +<!--
|
| + This test scrolls a nested iframe down, then clicks on a select element. If
|
| + updateWidgetPositions() hasn't been called properly, this will cause the frame
|
| + to scroll to where it thinks the element being clicked on is. Javascript
|
| + execution will start in the onload handler in
|
| + resources/update-widget-positions-on-nested-frames-and-scrollers-inner-frame.html.
|
| +-->
|
| +<body>
|
| + <iframe src="resources/update-widget-positions-on-nested-frames-and-scrollers-outer-frame.html"></iframe>
|
| +</body>
|
| +</html>
|
|
|