Convert sub-pixel iframe-copy-on-scroll tests to use Mock scrollbars
authorleviw@chromium.org <leviw@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Dec 2012 22:17:42 +0000 (22:17 +0000)
committerleviw@chromium.org <leviw@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Dec 2012 22:17:42 +0000 (22:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=105210

Reviewed by Emil A Eklund.

Converting the iframe tests in sub-pixel/ to use mock scrollbars. These tests needed to
be rebaselined following r137847 anyways. Best to make this change before that.

* fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html:
* fast/sub-pixel/transformed-iframe-copy-on-scroll.html:
* platform/chromium-linux/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.png:
* platform/chromium-linux/fast/sub-pixel/transformed-iframe-copy-on-scroll-expected.png:
* platform/chromium/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@137945 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html
LayoutTests/fast/sub-pixel/transformed-iframe-copy-on-scroll.html
LayoutTests/platform/chromium-linux/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.png
LayoutTests/platform/chromium-linux/fast/sub-pixel/transformed-iframe-copy-on-scroll-expected.png
LayoutTests/platform/chromium/TestExpectations

index 5d25dad..6571a2f 100644 (file)
@@ -1,5 +1,21 @@
 2012-12-17  Levi Weintraub  <leviw@chromium.org>
 
+        Convert sub-pixel iframe-copy-on-scroll tests to use Mock scrollbars
+        https://bugs.webkit.org/show_bug.cgi?id=105210
+
+        Reviewed by Emil A Eklund.
+
+        Converting the iframe tests in sub-pixel/ to use mock scrollbars. These tests needed to
+        be rebaselined following r137847 anyways. Best to make this change before that.
+
+        * fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html:
+        * fast/sub-pixel/transformed-iframe-copy-on-scroll.html:
+        * platform/chromium-linux/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.png:
+        * platform/chromium-linux/fast/sub-pixel/transformed-iframe-copy-on-scroll-expected.png:
+        * platform/chromium/TestExpectations:
+
+2012-12-17  Levi Weintraub  <leviw@chromium.org>
+
         Add support for tracking hit test rectangles to enable fast event rejection in the compositor
         https://bugs.webkit.org/show_bug.cgi?id=103914
 
index 0f29889..ab5528c 100644 (file)
 </style>
 <script src="../repaint/resources/repaint.js" type="text/javascript"></script>
 <script>
-if (window.testRunner)
+if (window.testRunner) {
   testRunner.waitUntilDone();
+  internals.settings.setMockScrollbarsEnabled(true);
+}
 
 function setupIframes() {
   setupIframe(document.getElementById('iframe1').contentWindow.document);
index a2d26e0..69e08db 100644 (file)
 </style>
 <script src="../repaint/resources/repaint.js" type="text/javascript"></script>
 <script>
-if (window.testRunner)
+if (window.testRunner) {
   testRunner.waitUntilDone();
+  internals.settings.setMockScrollbarsEnabled(true);
+}
 
 function setupIframes() {
   setupIframe(document.getElementById('iframe1').contentWindow.document);
index 84f903b..25928ca 100644 (file)
Binary files a/LayoutTests/platform/chromium-linux/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.png and b/LayoutTests/platform/chromium-linux/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.png differ
index c343235..8507947 100644 (file)
Binary files a/LayoutTests/platform/chromium-linux/fast/sub-pixel/transformed-iframe-copy-on-scroll-expected.png and b/LayoutTests/platform/chromium-linux/fast/sub-pixel/transformed-iframe-copy-on-scroll-expected.png differ
index adcc423..f08d242 100644 (file)
@@ -4070,8 +4070,8 @@ Bug(dpranke) [ Win ] webaudio/codec-tests/vorbis/vbr-128kbps-44khz.html [ Failur
 webkit.org/b/100023 [ Mac ] fast/sub-pixel/file-upload-control-at-fractional-offset.html [ Failure ImageOnlyFailure ]
 
 # Needs rebaseline after bots cycle
-Bug(leviw) [ Linux Win Mac ] fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html [ Pass ImageOnlyFailure Failure ]
-Bug(leviw) [ Linux Win Mac ] fast/sub-pixel/transformed-iframe-copy-on-scroll.html [ Pass ImageOnlyFailure Failure ]
+Bug(leviw) [ Win Mac ] fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html [ Pass ImageOnlyFailure Failure ]
+Bug(leviw) [ Win Mac ] fast/sub-pixel/transformed-iframe-copy-on-scroll.html [ Pass ImageOnlyFailure Failure ]
 Bug(leviw) [ Linux Win Mac ] platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar.html [ Pass ImageOnlyFailure ]
 Bug(leviw) [ Linux Win Mac ] platform/chromium/fast/forms/suggestion-picker/month-suggestion-picker-appearance-with-scroll-bar.html [ Pass ImageOnlyFailure ]
 Bug(leviw) [ Linux Win Mac ] platform/chromium/fast/forms/suggestion-picker/week-suggestion-picker-appearance-with-scroll-bar.html [ Pass ImageOnlyFailure ]