Allow WebKit clients to specify a minimum effective width for layout.
[WebKit-https.git] / LayoutTests / ChangeLog
index e1622f5..f8dd859 100644 (file)
@@ -1,3 +1,24 @@
+2018-11-28  Yongjun Zhang  <yongjun_zhang@apple.com>
+
+        Allow WebKit clients to specify a minimum effective width for layout.
+        https://bugs.webkit.org/show_bug.cgi?id=191499
+        <rdar://problem/45362678>
+
+        Reviewed by Wenson Hsieh.
+
+        Add two new tests. The first test verifies if we ignore meta viewport, setting a different effective width value
+        will change the layout width of the page. The second test verifies if we don't ignore meta viewport, we will always
+        respect that (980pt) and setting a different effective width value won't change the layout width. 
+
+
+        * fast/viewport/ios/ipad/viewport-overriden-by-minimum-effective-width-if-ignore-meta-viewport-expected.txt: Added.
+        * fast/viewport/ios/ipad/viewport-overriden-by-minimum-effective-width-if-ignore-meta-viewport.html: Added.
+        * fast/viewport/ios/ipad/viewport-unchanged-by-minimum-effective-width-if-not-ignore-meta-viewport-expected.txt: Added.
+        * fast/viewport/ios/ipad/viewport-unchanged-by-minimum-effective-width-if-not-ignore-meta-viewport.html: Added.
+        * resources/ui-helper.js:
+        (window.UIHelper.setMinimumEffectiveWidth): Add a helper method to set the minimum effective width from a test.
+        (window.UIHelper):
+
 2018-11-27  Jiewen Tan  <jiewen_tan@apple.com>
 
         Unreviewed, test gardening