Changeset 209887 in webkit


Ignore:
Timestamp:
Dec 15, 2016 4:46:27 PM (7 years ago)
Author:
Simon Fraser
Message:

Fix flakiness of fast/visual-viewport/ios/zoomed-focus-in-fixed.html
https://bugs.webkit.org/show_bug.cgi?id=165930

Reviewed by Tim Horton.

The test zooms when focussing the input, which completes after the keyboard shows,
so we need to wait for zooming to finish using the uiController.didEndZoomingCallback.

  • fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt:
  • fast/visual-viewport/ios/zoomed-focus-in-fixed.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r209875 r209887  
     12016-12-15  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Fix flakiness of fast/visual-viewport/ios/zoomed-focus-in-fixed.html
     4        https://bugs.webkit.org/show_bug.cgi?id=165930
     5
     6        Reviewed by Tim Horton.
     7
     8        The test zooms when focussing the input, which completes after the keyboard shows,
     9        so we need to wait for zooming to finish using the uiController.didEndZoomingCallback.
     10
     11        * fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt:
     12        * fast/visual-viewport/ios/zoomed-focus-in-fixed.html:
     13
    1142016-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
    215
  • trunk/LayoutTests/fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt

    r209867 r209887  
    1 Layout viewport: {"top":746.703125,"right":320,"bottom":1314.703125,"left":0,"width":320,"height":568}
    2 Visual viewport: {"top":747,"right":220,"bottom":1138,"left":0,"width":220,"height":391}
     1Layout viewport: {"top":659.734375,"right":320,"bottom":1227.734375,"left":0,"width":320,"height":568}
     2Visual viewport: {"top":660,"right":220,"bottom":1051,"left":0,"width":220,"height":391}
    33
  • trunk/LayoutTests/fast/visual-viewport/ios/zoomed-focus-in-fixed.html

    r209867 r209887  
    3232        {
    3333            return `(function() {
    34                 uiController.didShowKeyboardCallback = function() {
     34                uiController.didEndZoomingCallback = function() {
    3535                    uiController.uiScriptComplete();
    3636                }
Note: See TracChangeset for help on using the changeset viewer.