Title: [187120] trunk/Source/WebCore
Revision
187120
Author
hy...@apple.com
Date
2015-07-21 13:57:06 -0700 (Tue, 21 Jul 2015)

Log Message

Fix failing WK1 layout tests. Make sure to reset the text zoom scale
in Internals::resetToConsistentState.

Reviewed by Anders Carlsson

* testing/Internals.cpp:
(WebCore::Internals::resetToConsistentState):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (187119 => 187120)


--- trunk/Source/WebCore/ChangeLog	2015-07-21 20:22:37 UTC (rev 187119)
+++ trunk/Source/WebCore/ChangeLog	2015-07-21 20:57:06 UTC (rev 187120)
@@ -1,3 +1,13 @@
+2015-07-21  David Hyatt  <hy...@apple.com>
+
+        Fix failing WK1 layout tests. Make sure to reset the text zoom scale
+        in Internals::resetToConsistentState.
+
+        Reviewed by Anders Carlsson
+
+        * testing/Internals.cpp:
+        (WebCore::Internals::resetToConsistentState):
+
 2015-07-21  Said Abou-Hallawa  <sabouhall...@apple.com>
 
         REGRESSION (r172417, r184065): Multiple rendering issues with fixed attached background-image

Modified: trunk/Source/WebCore/testing/Internals.cpp (187119 => 187120)


--- trunk/Source/WebCore/testing/Internals.cpp	2015-07-21 20:22:37 UTC (rev 187119)
+++ trunk/Source/WebCore/testing/Internals.cpp	2015-07-21 20:57:06 UTC (rev 187120)
@@ -304,7 +304,9 @@
 
     page->setPageScaleFactor(1, IntPoint(0, 0));
     page->setPagination(Pagination());
-
+    
+    page->mainFrame().setTextZoomFactor(1.0f);
+    
     FrameView* mainFrameView = page->mainFrame().view();
     if (mainFrameView) {
         mainFrameView->setHeaderHeight(0);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to