Changeset 222178 in webkit


Ignore:
Timestamp:
Sep 18, 2017 2:01:30 PM (7 years ago)
Author:
Antti Koivisto
Message:

Another WK1 unflake attempt.

  • transitions/transition-display-property-2.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r222176 r222178  
     12017-09-18  Antti Koivisto  <antti@apple.com>
     2
     3        Another WK1 unflake attempt.
     4
     5        * transitions/transition-display-property-2.html:
     6
    172017-09-18  Ryosuke Niwa  <rniwa@webkit.org>
    28
  • trunk/LayoutTests/transitions/transition-display-property-2.html

    r222162 r222178  
    1111<test></test>
    1212<script>
     13if (window.testRunner)
     14    testRunner.waitUntilDone();
     15
    1316const test = document.querySelector("test");
     17
     18function tryComplete()
     19{
     20    if (test.offsetHeight < 100) {
     21        if (window.testRunner)
     22            testRunner.notifyDone();
     23        return;
     24    }
     25    setTimeout(tryComplete, 10);
     26}
     27
    1428test.offsetWidth;
    15 
    16 if (window.testRunner) {
    17     testRunner.waitUntilDone();
    18     requestAnimationFrame(() => {
    19         testRunner.notifyDone();
    20     });
    21 }
    2229test.className = "animate";
    23 test.offsetWidth;
     30tryComplete();
    2431</script>
Note: See TracChangeset for help on using the changeset viewer.