Title: [247659] branches/safari-608-branch/LayoutTests
Revision
247659
Author
[email protected]
Date
2019-07-19 16:55:56 -0700 (Fri, 19 Jul 2019)

Log Message

Cherry-pick r247571. rdar://problem/53279094

    Rebase fast/forms/ios/delete-in-input-in-iframe.html after r244141
    https://bugs.webkit.org/show_bug.cgi?id=199875
    <rdar://problem/50060561>

    Patch by Alex Christensen <[email protected]> on 2019-07-18
    Reviewed by Megan Gardner.

    In r202295, we added an ios-specific quirk to prevent scrolling on iOS because of UIKit/WebKit scrolling discrepancies.
    In r244141, we changed the scrolling behavior to be more like macOS, and the test was broken.  Since this was an intentional
    change and the bugs reported in rdar://problem/26805722 (initially fixed by r202295) and rdar://problem/49225507 (fixed by r244141)
    are both behaving as desired, the intentional change in r244141 should be reflected by new test expectations.
    We do want typing in an input field in an iframe to scroll as we type.

    * fast/forms/ios/delete-in-input-in-iframe-expected.txt:
    * fast/forms/ios/delete-in-input-in-iframe.html:

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

Modified Paths

Diff

Modified: branches/safari-608-branch/LayoutTests/ChangeLog (247658 => 247659)


--- branches/safari-608-branch/LayoutTests/ChangeLog	2019-07-19 23:10:00 UTC (rev 247658)
+++ branches/safari-608-branch/LayoutTests/ChangeLog	2019-07-19 23:55:56 UTC (rev 247659)
@@ -1,3 +1,42 @@
+2019-07-19  Kocsen Chung  <[email protected]>
+
+        Cherry-pick r247571. rdar://problem/53279094
+
+    Rebase fast/forms/ios/delete-in-input-in-iframe.html after r244141
+    https://bugs.webkit.org/show_bug.cgi?id=199875
+    <rdar://problem/50060561>
+    
+    Patch by Alex Christensen <[email protected]> on 2019-07-18
+    Reviewed by Megan Gardner.
+    
+    In r202295, we added an ios-specific quirk to prevent scrolling on iOS because of UIKit/WebKit scrolling discrepancies.
+    In r244141, we changed the scrolling behavior to be more like macOS, and the test was broken.  Since this was an intentional
+    change and the bugs reported in rdar://problem/26805722 (initially fixed by r202295) and rdar://problem/49225507 (fixed by r244141)
+    are both behaving as desired, the intentional change in r244141 should be reflected by new test expectations.
+    We do want typing in an input field in an iframe to scroll as we type.
+    
+    * fast/forms/ios/delete-in-input-in-iframe-expected.txt:
+    * fast/forms/ios/delete-in-input-in-iframe.html:
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@247571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-07-18  Alex Christensen  <[email protected]>
+
+            Rebase fast/forms/ios/delete-in-input-in-iframe.html after r244141
+            https://bugs.webkit.org/show_bug.cgi?id=199875
+            <rdar://problem/50060561>
+
+            Reviewed by Megan Gardner.
+
+            In r202295, we added an ios-specific quirk to prevent scrolling on iOS because of UIKit/WebKit scrolling discrepancies.
+            In r244141, we changed the scrolling behavior to be more like macOS, and the test was broken.  Since this was an intentional
+            change and the bugs reported in rdar://problem/26805722 (initially fixed by r202295) and rdar://problem/49225507 (fixed by r244141)
+            are both behaving as desired, the intentional change in r244141 should be reflected by new test expectations.
+            We do want typing in an input field in an iframe to scroll as we type.
+
+            * fast/forms/ios/delete-in-input-in-iframe-expected.txt:
+            * fast/forms/ios/delete-in-input-in-iframe.html:
+
 2019-07-18  Alan Coon  <[email protected]>
 
         Cherry-pick r247619. rdar://problem/53279090

Modified: branches/safari-608-branch/LayoutTests/fast/forms/ios/delete-in-input-in-iframe-expected.txt (247658 => 247659)


--- branches/safari-608-branch/LayoutTests/fast/forms/ios/delete-in-input-in-iframe-expected.txt	2019-07-19 23:10:00 UTC (rev 247658)
+++ branches/safari-608-branch/LayoutTests/fast/forms/ios/delete-in-input-in-iframe-expected.txt	2019-07-19 23:55:56 UTC (rev 247659)
@@ -1,5 +1,5 @@
 Tests that typing into a text input in an iframe should not scroll.
 
-PASS: page did not scroll.
+PASS: page scrolled to 1143
 Click to focus input
 

Modified: branches/safari-608-branch/LayoutTests/fast/forms/ios/delete-in-input-in-iframe.html (247658 => 247659)


--- branches/safari-608-branch/LayoutTests/fast/forms/ios/delete-in-input-in-iframe.html	2019-07-19 23:10:00 UTC (rev 247658)
+++ branches/safari-608-branch/LayoutTests/fast/forms/ios/delete-in-input-in-iframe.html	2019-07-19 23:55:56 UTC (rev 247659)
@@ -39,7 +39,7 @@
     
     function pageDidScroll()
     {
-        document.getElementById('result').textContent = 'FAIL: page scrolled to ' + document.scrollingElement.scrollTop;
+        document.getElementById('result').textContent = 'PASS: page scrolled to ' + document.scrollingElement.scrollTop;
     }
 
     function testTyping()
@@ -76,7 +76,7 @@
 
 <p>Tests that typing into a text input in an iframe should not scroll.</p>
 <div id="result">
-    PASS: page did not scroll.
+    FAIL: page did not scroll.
 </div>
 
 <button id="target" _onclick_="buttonClicked()">Click to focus input</button>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to