Changeset 169232 in webkit


Ignore:
Timestamp:
May 22, 2014, 5:39:36 PM (11 years ago)
Author:
Simon Fraser
Message:

Fix the compositing/transitions/transform-on-large-layer.html test
https://bugs.webkit.org/show_bug.cgi?id=133195

Reviewed by Dean Jackson.

This test used window resize when it doesn't need to and was flakey.

  • compositing/transitions/transform-on-large-layer.html:
  • platform/efl/TestExpectations:
  • platform/mac/TestExpectations:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r169229 r169232  
     12014-05-22  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Fix the  compositing/transitions/transform-on-large-layer.html test
     4        https://bugs.webkit.org/show_bug.cgi?id=133195
     5
     6        Reviewed by Dean Jackson.
     7       
     8        This test used window resize when it doesn't need to and was flakey.
     9
     10        * compositing/transitions/transform-on-large-layer.html:
     11        * platform/efl/TestExpectations:
     12        * platform/mac/TestExpectations:
     13
    1142014-05-22  Simon Fraser  <simon.fraser@apple.com>
    215
  • trunk/LayoutTests/compositing/transitions/transform-on-large-layer.html

    r150048 r169232  
    55    <style type="text/css">
    66        #box {
    7             -webkit-transition: -webkit-transform 0.7s step-end;
    87            display: block;
    98            width: 1000px;
    109            height: 2000px;
    1110            background-color: green;
     11            transition: -webkit-transform 0.2s step-end;
    1212        }
    1313
     
    2727        }
    2828    </style>
    29     <script type="text/javascript">
     29    <script>
     30        if (window.testRunner)
     31            testRunner.waitUntilDone();
     32
    3033        function run()
    3134        {
    32             if (window.testRunner) {
    33                 testRunner.waitUntilDone();
    34                 window.setTimeout('window.resizeTo(1600, 1200)', 100);
    35             }
    36             window.onresize = function() {
    37                 var box = document.getElementById("box");
    38                 box.className = "end";
    39                 window.setTimeout('testRunner.notifyDone()', 1500);
    40             }
     35            var box = document.getElementById('box');
     36            box.addEventListener('transitionend', function() {
     37                if (window.testRunner)
     38                    testRunner.notifyDone();
     39            }, false);
     40
     41            box.className = 'end';
    4142        }
    4243    </script>
    4344</head>
    4445<body onload="run()">
    45     <div id=description>
     46    <div id="description">
    4647        The test passes if the box below turns green.
    4748    </div>
    48     <div id=sandbox>
     49    <div id="sandbox">
    4950        <div id="box" class="start"><font style="opacity:0">ABC</font></div>
    5051    </div>
  • trunk/LayoutTests/platform/efl/TestExpectations

    r169172 r169232  
    12741274webkit.org/b/109950 fast/dom/Window/webkitConvertPoint.html [ Failure ]
    12751275
    1276 # Newly added test in r142979 is failing.
    1277 webkit.org/b/109951 compositing/transitions/transform-on-large-layer.html [ ImageOnlyFailure ]
    1278 
    12791276# CUSTOM_ELEMENTS is not enabled.
    12801277webkit.org/b/110958 fast/dom/custom [ Skip ]
  • trunk/LayoutTests/platform/mac/TestExpectations

    r169173 r169232  
    10011001webkit.org/b/119374 fast/workers/termination-early.html [ Pass Crash ]
    10021002webkit.org/b/119375 fast/workers/worker-call.html [ Failure ]
    1003 
    1004 webkit.org/b/110027 compositing/transitions/transform-on-large-layer.html [ Pass ImageOnlyFailure ]
    10051003
    10061004webkit.org/b/110186 inspector-protocol/page/javascriptDialogEvents.html [ Skip ]
Note: See TracChangeset for help on using the changeset viewer.