Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Unified Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html

Issue 200633005: [CSS Shapes] Remove deprecated shapes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test expectations Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..fd6f20d2eb4068b33c76187cbb48d7c763755799 100644
--- a/LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html
+++ b/LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html
@@ -10,10 +10,6 @@
display: inline-block;
}
- #rectangle-box {
- -webkit-animation: rectangle-anim 2s linear
- }
-
#circle-box {
-webkit-animation: circle-anim 2s linear
}
@@ -27,11 +23,6 @@
}
- @-webkit-keyframes rectangle-anim {
- from { shape-inside: rectangle(0%, 0%, 100%, 100%); }
- to { shape-inside: rectangle(20%, 20%, 60%, 60%); }
- }
-
@-webkit-keyframes circle-anim {
from { shape-inside: circle(50% at 50% 50%); }
to { shape-inside: circle(20% at 20% 20%); }
@@ -52,7 +43,8 @@
<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],
+ // FIXME: BasicShapeInset::blend is not implemented, when it is add an inset test.
+ // [1, "inset-box", "shapeInside", "inset(10% 10% 10% 10% round 0px 0px 0px 0px / 0px 0px 0px 0px)", 0.05],
[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 +55,6 @@
</head>
<body>
-<div class="box" id="rectangle-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>

Powered by Google App Engine
This is Rietveld 408576698