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

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

Issue 2787113002: Initial conic-gradient() implementation (Closed)
Patch Set: silence msvc warning Created 3 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: third_party/WebKit/LayoutTests/fast/gradients/conic-gradient.html
diff --git a/third_party/WebKit/LayoutTests/fast/gradients/conic-gradient.html b/third_party/WebKit/LayoutTests/fast/gradients/conic-gradient.html
new file mode 100644
index 0000000000000000000000000000000000000000..d4705e8c32bbcd8ce3b7fb8ec318f26cc327ea7d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/gradients/conic-gradient.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+
+<style>
+div {
+ width: 200px;
+ height: 200px;
+ border: 1px solid grey;
+ border-radius: 50%;
+ display: inline-block;
+ margin: 20px;
+}
+
+.conic1 {
+ background: conic-gradient(#f06, gold);
+}
+
+.conic2 {
+ background: conic-gradient(#eee .1turn, black, #eee 326deg);
+}
+
+.conic3 {
+ background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);
+}
+
+.conic4 {
+ background: conic-gradient(yellowgreen 40%, gold 0, gold 70%, #f06 0);
+}
+
+.conic5 {
+ background: conic-gradient(black 25%, white 0, white 50%, black 0, black 75%, white 0);
+ background-size: 4em 4em;
+}
+
+.conic6 {
+ background:
+ conic-gradient(#f06, rgba(0,0,0,.5)),
+ conic-gradient(silver 25%, #eee 0, #eee 50%, silver 0, silver 75%, #eee 0);
+}
+
+</style>
+
+<div class="conic1"></div>
+<div class="conic2"></div>
+<div class="conic3"></div>
+<br>
+<div class="conic4"></div>
+<div class="conic5"></div>
+<div class="conic6"></div>

Powered by Google App Engine
This is Rietveld 408576698