Changeset 53502 in webkit


Ignore:
Timestamp:
Jan 19, 2010 3:49:05 PM (14 years ago)
Author:
ojan@chromium.org
Message:

2010-01-19 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

More flaky animation/transitions tests
https://bugs.webkit.org/show_bug.cgi?id=33872

Undo my previous changes decreasing test times. This ended up
increasing flakiness.

  • animations/change-one-anim-expected.txt:
  • animations/change-one-anim.html:
  • animations/combo-transform-translate+scale.html:
  • transitions/shorthand-border-transitions-expected.txt:
  • transitions/shorthand-border-transitions.html:
Location:
trunk/LayoutTests
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r53501 r53502  
     12010-01-19  Ojan Vafai  <ojan@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        More flaky animation/transitions tests
     6        https://bugs.webkit.org/show_bug.cgi?id=33872
     7
     8        Undo my previous changes decreasing test times. This ended up
     9        increasing flakiness.
     10
     11        * animations/change-one-anim-expected.txt:
     12        * animations/change-one-anim.html:
     13        * animations/combo-transform-translate+scale.html:
     14        * transitions/shorthand-border-transitions-expected.txt:
     15        * transitions/shorthand-border-transitions.html:
     16
    1172010-01-19  Alexey Proskuryakov  <ap@apple.com>
    218
  • trunk/LayoutTests/animations/change-one-anim-expected.txt

    r53302 r53502  
    1 This test performs two animations, left and top. It animates over 0.4 second. At 0.2 second it removes the left animation and the top animation should continue from where it left off.
    2 PASS - "left" property for "box" element at 0.3s saw something close to: 200
    3 PASS - "top" property for "box" element at 0.3s saw something close to: 300
     1This test performs two animations, left and top. It animates over 1 second. At 0.5 second it removes the left animation and the top animation should continue from where it left off.
     2PASS - "left" property for "box" element at 0.75s saw something close to: 150
     3PASS - "top" property for "box" element at 0.75s saw something close to: 225
    44
  • trunk/LayoutTests/animations/change-one-anim.html

    r53302 r53502  
    1313            background-color: #9bb;
    1414            -webkit-animation-name: horiz, vert;
    15             -webkit-animation-duration: 0.4s;
     15            -webkit-animation-duration: 1s;
    1616            -webkit-animation-iteration-count: infinite;
    1717            -webkit-animation-direction: alternate;
     
    2121         @-webkit-keyframes horiz {
    2222            from { left: 0px; }
    23             to { left: 400px; }
     23            to { left:300px; }
    2424         }
    2525         @-webkit-keyframes vert {
    2626            from { top: 0px; }
    27             to { top: 400px; }
     27            to { top: 300px; }
    2828         }
    2929    </style>
     
    3333        const expectedValues = [
    3434          // [animation-name, time, element-id, property, expected-value, tolerance]
    35           [null, 0.3, "box", "left", 200, 40],
    36           [null, 0.3, "box", "top", 300, 40],
     35          [null, 0.75, "box", "left", 150, 40],
     36          [null, 0.75, "box", "top", 225, 40],
    3737        ];
    3838
     
    4747        function setup()
    4848        {
    49             setTimeout("removeAnim()", 200);
     49            setTimeout("removeAnim()", 500);
    5050        }
    5151
     
    5454</head>
    5555<body>
    56 This test performs two animations, left and top. It animates over 0.4 second.
    57 At 0.2 second it removes the left animation and the top animation should continue
     56This test performs two animations, left and top. It animates over 1 second.
     57At 0.5 second it removes the left animation and the top animation should continue
    5858from where it left off.
    5959<div id="box">
  • trunk/LayoutTests/animations/combo-transform-translate+scale.html

    r53333 r53502  
    3030    const expected =  [ [ 1.25,0,0,1.75,25,50 ],
    3131                        [ 1.5,0,0,2.5,50,100 ] ];
    32     const tolerance = [ 0.2,0.2,0.2,0.3,5,15 ];
     32    const tolerance = [ 0.2,0.2,0.2,0.3,8,15 ];
    3333    const prop = [ "a", "b", "c", "d", "e", "f" ];
    3434   
  • trunk/LayoutTests/transitions/shorthand-border-transitions-expected.txt

    r53302 r53502  
    11Tests transitions of the border shorthand properties.
    22
    3 PASS - "border-top-color" property for "box" element at 0.25s saw something close to: 128,0,128
    4 PASS - "border-right-color" property for "box" element at 0.25s saw something close to: 128,0,128
    5 PASS - "border-bottom-color" property for "box" element at 0.25s saw something close to: 128,0,128
    6 PASS - "border-left-color" property for "box" element at 0.25s saw something close to: 128,0,128
    7 PASS - "border-top-width" property for "box" element at 0.25s saw something close to: 10
    8 PASS - "border-right-width" property for "box" element at 0.25s saw something close to: 10
    9 PASS - "border-bottom-width" property for "box" element at 0.25s saw something close to: 10
    10 PASS - "border-left-width" property for "box" element at 0.25s saw something close to: 10
    11 PASS - "border-top-width" property for "box1" element at 0.25s saw something close to: 10
    12 PASS - "border-top-color" property for "box1" element at 0.25s saw something close to: 255,0,255
    13 PASS - "border-top-width" property for "box2" element at 0.25s saw something close to: 10
    14 PASS - "border-bottom-width" property for "box2" element at 0.25s saw something close to: 20
     3PASS - "border-top-color" property for "box" element at 0.5s saw something close to: 128,0,128
     4PASS - "border-right-color" property for "box" element at 0.5s saw something close to: 128,0,128
     5PASS - "border-bottom-color" property for "box" element at 0.5s saw something close to: 128,0,128
     6PASS - "border-left-color" property for "box" element at 0.5s saw something close to: 128,0,128
     7PASS - "border-top-width" property for "box" element at 0.5s saw something close to: 10
     8PASS - "border-right-width" property for "box" element at 0.5s saw something close to: 10
     9PASS - "border-bottom-width" property for "box" element at 0.5s saw something close to: 10
     10PASS - "border-left-width" property for "box" element at 0.5s saw something close to: 10
     11PASS - "border-top-width" property for "box1" element at 0.5s saw something close to: 10
     12PASS - "border-top-color" property for "box1" element at 0.5s saw something close to: 255,0,255
     13PASS - "border-top-width" property for "box2" element at 0.5s saw something close to: 10
     14PASS - "border-bottom-width" property for "box2" element at 0.5s saw something close to: 20
    1515
  • trunk/LayoutTests/transitions/shorthand-border-transitions.html

    r53336 r53502  
    1313      background-color: gray;
    1414      border: 0px solid rgb(0, 0, 0);
    15       -webkit-transition: border 0.5s linear;
     15      -webkit-transition: border 1s linear;
    1616    }
    1717   
     
    2626      background-color: gray;
    2727      border: 0px solid rgb(0, 0, 0);
    28       -webkit-transition: border-width 0.5s linear;
     28      -webkit-transition: border-width 1s linear;
    2929    }
    3030   
     
    3939      background-color: gray;
    4040      border: 0px solid rgb(0, 0, 0);
    41       -webkit-transition: border 0.5s linear;
     41      -webkit-transition: border 1s linear;
    4242    }
    4343   
     
    5353      // [time, element-id, property, expected-value, tolerance]
    5454      // color and width of each side should be animating
    55       [0.25, 'box', 'border-top-color', [128, 0, 128], 30],
    56       [0.25, 'box', 'border-right-color', [128, 0, 128], 30],
    57       [0.25, 'box', 'border-bottom-color', [128, 0, 128], 30],
    58       [0.25, 'box', 'border-left-color', [128, 0, 128], 30],
    59       [0.25, 'box', 'border-top-width', 10, 2],
    60       [0.25, 'box', 'border-right-width', 10, 2],
    61       [0.25, 'box', 'border-bottom-width', 10, 2],
    62       [0.25, 'box', 'border-left-width', 10, 2],
     55      [0.5, 'box', 'border-top-color', [128, 0, 128], 30],
     56      [0.5, 'box', 'border-right-color', [128, 0, 128], 30],
     57      [0.5, 'box', 'border-bottom-color', [128, 0, 128], 30],
     58      [0.5, 'box', 'border-left-color', [128, 0, 128], 30],
     59      [0.5, 'box', 'border-top-width', 10, 2],
     60      [0.5, 'box', 'border-right-width', 10, 2],
     61      [0.5, 'box', 'border-bottom-width', 10, 2],
     62      [0.5, 'box', 'border-left-width', 10, 2],
    6363
    6464      // only border-width should be animating
    65       [0.25, 'box1', 'border-top-width', 10, 2],
    66       [0.25, 'box1', 'border-top-color', [255, 0, 255], 0],  // initial value
     65      [0.5, 'box1', 'border-top-width', 10, 2],
     66      [0.5, 'box1', 'border-top-color', [255, 0, 255], 0],  // initial value
    6767
    6868      // border-width should be animating
    69       [0.25, 'box2', 'border-top-width', 10, 2],
    70       [0.25, 'box2', 'border-bottom-width', 20, 4],
     69      [0.5, 'box2', 'border-top-width', 10, 2],
     70      [0.5, 'box2', 'border-bottom-width', 20, 4],
    7171    ];
    7272   
Note: See TracChangeset for help on using the changeset viewer.