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

Unified Diff: LayoutTests/animations/interpolation/shape-outside.html

Issue 132643006: Take into account fill-rule for polygon interpolation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/shape-outside-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/interpolation/shape-outside.html
diff --git a/LayoutTests/animations/interpolation/shape-outside.html b/LayoutTests/animations/interpolation/shape-outside.html
index 6a0953e44f93b8d83e0b7c3ca3fbf8930538ae8c..63aeba475e998f752f9f23c3a0f622569617afec 100644
--- a/LayoutTests/animations/interpolation/shape-outside.html
+++ b/LayoutTests/animations/interpolation/shape-outside.html
@@ -70,6 +70,19 @@ assertInterpolation({
assertInterpolation({
property: 'shape-outside',
+ from: 'polygon(evenodd, 0px 0px, 25px 25px, 50px 50px)',
+ to: 'polygon(nonzero, 25px 25px, 50px 50px, 75px 75px)',
+}, [
+ {at: -0.3, is: 'polygon(evenodd, 0px 0px, 25px 25px, 50px 50px)'},
+ {at: 0, is: 'polygon(evenodd, 0px 0px, 25px 25px, 50px 50px)'},
+ {at: 0.3, is: 'polygon(evenodd, 0px 0px, 25px 25px, 50px 50px)'},
+ {at: 0.6, is: 'polygon(nonzero, 25px 25px, 50px 50px, 75px 75px)'},
+ {at: 1, is: 'polygon(nonzero, 25px 25px, 50px 50px, 75px 75px)'},
+ {at: 1.5, is: 'polygon(nonzero, 25px 25px, 50px 50px, 75px 75px)'},
+]);
+
+assertInterpolation({
+ property: 'shape-outside',
from: 'none',
to: 'ellipse(100% 100% at 0% 0%)',
}, [
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/shape-outside-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698