⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 185811 in webkit


Ignore:
Timestamp:
Jun 21, 2015, 9:16:05 AM (11 years ago)
Author:
ddkilzer@apple.com
Message:

REGRESSION (r185809): fast/css-grid-layout/flex-content-sized-columns-resize.html hangs on WK1

Since window.resize() occurs in the same runloop as the load on
WK1, testRunner.notifyDone() would never get called.

  • fast/css-grid-layout/flex-content-sized-columns-resize.html:

Call document.body.offsetTop to ensure layout occurs at the
initial window size before calling window.resize().

Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r185809 r185811  
     12015-06-21  David Kilzer  <ddkilzer@apple.com>
     2
     3        REGRESSION (r185809): fast/css-grid-layout/flex-content-sized-columns-resize.html hangs on WK1
     4
     5        Since window.resize() occurs in the same runloop as the load on
     6        WK1, testRunner.notifyDone() would never get called.
     7
     8        * fast/css-grid-layout/flex-content-sized-columns-resize.html:
     9        Call document.body.offsetTop to ensure layout occurs at the
     10        initial window size before calling window.resize().
     11
    1122015-06-21  David Kilzer  <ddkilzer@apple.com>
    213
  • trunk/LayoutTests/fast/css-grid-layout/flex-content-sized-columns-resize.html

    r185809 r185811  
    1717        testRunner.waitUntilDone();
    1818    }
     19
     20    // Prevent WebKit1 hangs by ensuring layout is up-to-date before resize.
     21    document.body.offsetTop;
     22
    1923    window.resizeTo(600, 600);
    2024}
Note: See TracChangeset for help on using the changeset viewer.