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

Unified Diff: third_party/WebKit/LayoutTests/fast/gradients/conic-gradient-parsing.html

Issue 2813583002: Support calc(...) in ConsumeAngleOrPercent / for conic-gradient (Closed)
Patch Set: TypedOM CSSRotation fixup Created 3 years, 8 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 | third_party/WebKit/Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/gradients/conic-gradient-parsing.html
diff --git a/third_party/WebKit/LayoutTests/fast/gradients/conic-gradient-parsing.html b/third_party/WebKit/LayoutTests/fast/gradients/conic-gradient-parsing.html
index df54ea66bacee742491018e397d4952b246e57cf..4118478becdb9df4e77cc560b21a3130f0abdc6f 100644
--- a/third_party/WebKit/LayoutTests/fast/gradients/conic-gradient-parsing.html
+++ b/third_party/WebKit/LayoutTests/fast/gradients/conic-gradient-parsing.html
@@ -38,6 +38,7 @@
{ style: "conic-gradient(at top left from 0, black, white)" , computed: "none" },
{ style: "conic-gradient(black 10% 20% 30%, white)" , computed: "none" },
{ style: "conic-gradient(black, 30% 50%, white)" , computed: "none" },
+ { style: "conic-gradient(black, white calc(360deg / 10 + 50%)" , computed: "none" },
{ style: "conic-gradient(black, white)" , computed: "conic-gradient(black, white)" },
{ style: "conic-gradient(black 0, white)" , computed: "conic-gradient(black 0deg, white)" },
@@ -90,6 +91,7 @@
{ style: "conic-gradient(white 45deg, black 225deg, white 405deg)" , computed: "conic-gradient(white 45deg, black 225deg, white 405deg)" },
{ style: "conic-gradient(red, yellow, lime, aqua, blue, magenta, red", computed: "conic-gradient(red, yellow, lime, aqua, blue, magenta, red)" },
{ style: "conic-gradient(gold, #f06 20deg)" , computed: "conic-gradient(gold, rgb(255, 0, 102) 20deg)" },
+ { style: "conic-gradient(gold calc(100% / 2), #f06 calc(360deg * 4 / 5))" , computed: "conic-gradient(gold calc(50%), rgb(255, 0, 102) calc(288deg))" },
];
test(function() {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698