Chromium Code Reviews| Index: LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html |
| diff --git a/LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html b/LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html |
| index 1e4688cc6ba1927e4a14dada06c731384979987f..7983b591054d9573cfb6b0623bfd20b9972aee62 100644 |
| --- a/LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html |
| +++ b/LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html |
| @@ -10,8 +10,8 @@ |
| display: inline-block; |
| } |
| - #rectangle-box { |
| - -webkit-animation: rectangle-anim 2s linear |
| + #inset-box { |
| + -webkit-animation: inset-anim 2s linear |
| } |
| #circle-box { |
| @@ -27,9 +27,9 @@ |
| } |
| - @-webkit-keyframes rectangle-anim { |
| - from { shape-inside: rectangle(0%, 0%, 100%, 100%); } |
| - to { shape-inside: rectangle(20%, 20%, 60%, 60%); } |
| + @-webkit-keyframes inset-anim { |
| + from { shape-inside: inset(0%); } |
| + to { shape-inside: inset(20%); } |
| } |
| @-webkit-keyframes circle-anim { |
| @@ -52,7 +52,7 @@ |
| <script type="text/javascript"> |
| const expectedValues = [ |
| // [time, element-id, property, expected-value, tolerance] |
| - [1, "rectangle-box", "shapeInside", "rectangle(10%, 10%, 80%, 80%, 0px, 0px)", 0.05], |
| + // [1, "inset-box", "shapeInside", "inset(10% 10% 10% 10% round 0px 0px 0px 0px / 0px 0px 0px 0px)", 0.05], |
|
Bem Jones-Bey (adobe)
2014/03/19 21:21:04
There should be a FIXME explaining why this is com
|
| [1, "circle-box", "shapeInside", "circle(35% at 35% 35%)", 0.05], |
| [1, "ellipse-box", "shapeInside", "ellipse(35% 30% at 35% 35%)", 0.05], |
| [1, "polygon-box", "shapeInside", "polygon(10% 10%, 90% 10%, 90% 90%, 10% 90%)", 0.05], |
| @@ -63,7 +63,7 @@ |
| </head> |
| <body> |
| -<div class="box" id="rectangle-box">Moving Text</div> |
| +<div class="box" id="inset-box">Moving Text</div> |
| <div class="box" id="circle-box">Moving Text</div> |
| <div class="box" id="ellipse-box">Moving Text</div> |
| <div class="box" id="polygon-box">Moving Text</div> |