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

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

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove now unused segmentIsEmpty 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
deleted file mode 100644
index fd6f20d2eb4068b33c76187cbb48d7c763755799..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
- <style>
- .box {
- height: 100px;
- width: 100px;
- margin: 10px;
- display: inline-block;
- }
-
- #circle-box {
- -webkit-animation: circle-anim 2s linear
- }
-
- #ellipse-box {
- -webkit-animation: ellipse-anim 2s linear
- }
-
- #polygon-box {
- -webkit-animation: polygon-anim 2s linear
- }
-
-
- @-webkit-keyframes circle-anim {
- from { shape-inside: circle(50% at 50% 50%); }
- to { shape-inside: circle(20% at 20% 20%); }
- }
-
- @-webkit-keyframes ellipse-anim {
- from { shape-inside: ellipse(50% 40% at 50% 50%); }
- to { shape-inside: ellipse(20% 20% at 20% 20%); }
- }
-
- @-webkit-keyframes polygon-anim {
- from { shape-inside: polygon(nonzero, 0% 0%, 100% 0%, 100% 100%, 0% 100%); }
- to { shape-inside: polygon(nonzero, 20% 20%, 80% 20%, 80% 80%, 20% 80%); }
- }
-
- </style>
- <script src="../../../animations/resources/animation-test-helpers.js"></script>
- <script type="text/javascript">
- const expectedValues = [
- // [time, element-id, property, expected-value, tolerance]
- // 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],
- ];
-
- runAnimationTest(expectedValues);
- </script>
-</head>
-<body>
-
-<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>
-
-<div id="result">
-</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698