Changeset 247571 in webkit


Ignore:
Timestamp:
Jul 18, 2019 12:06:35 PM (5 years ago)
Author:
commit-queue@webkit.org
Message:

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 <achristensen@webkit.org> 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:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r247566 r247571  
     12019-07-18  Alex Christensen  <achristensen@webkit.org>
     2
     3        Rebase fast/forms/ios/delete-in-input-in-iframe.html after r244141
     4        https://bugs.webkit.org/show_bug.cgi?id=199875
     5        <rdar://problem/50060561>
     6
     7        Reviewed by Megan Gardner.
     8
     9        In r202295, we added an ios-specific quirk to prevent scrolling on iOS because of UIKit/WebKit scrolling discrepancies.
     10        In r244141, we changed the scrolling behavior to be more like macOS, and the test was broken.  Since this was an intentional
     11        change and the bugs reported in rdar://problem/26805722 (initially fixed by r202295) and rdar://problem/49225507 (fixed by r244141)
     12        are both behaving as desired, the intentional change in r244141 should be reflected by new test expectations.
     13        We do want typing in an input field in an iframe to scroll as we type.
     14
     15        * fast/forms/ios/delete-in-input-in-iframe-expected.txt:
     16        * fast/forms/ios/delete-in-input-in-iframe.html:
     17
    1182019-07-18  Youenn Fablet  <youenn@apple.com>
    219
  • trunk/LayoutTests/fast/forms/ios/delete-in-input-in-iframe-expected.txt

    r203097 r247571  
    11Tests that typing into a text input in an iframe should not scroll.
    22
    3 PASS: page did not scroll.
     3PASS: page scrolled to 1143
    44Click to focus input
    55
  • trunk/LayoutTests/fast/forms/ios/delete-in-input-in-iframe.html

    r218480 r247571  
    4040    function pageDidScroll()
    4141    {
    42         document.getElementById('result').textContent = 'FAIL: page scrolled to ' + document.scrollingElement.scrollTop;
     42        document.getElementById('result').textContent = 'PASS: page scrolled to ' + document.scrollingElement.scrollTop;
    4343    }
    4444
     
    7777<p>Tests that typing into a text input in an iframe should not scroll.</p>
    7878<div id="result">
    79     PASS: page did not scroll.
     79    FAIL: page did not scroll.
    8080</div>
    8181
Note: See TracChangeset for help on using the changeset viewer.