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.html

Issue 2787113002: Initial conic-gradient() implementation (Closed)
Patch Set: baselines 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/gradients/conic-gradient-expected.png » ('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.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..8f7823b41acb60009cea78b54b2f8297adbab663
--- /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(transparent 0%, transparent 10%, yellow 25%, transparent 40%, transparent 60%, yellow 75%, transparent 90%),
+ conic-gradient(white 0%, white 50%, black 50%);
+}
+
+</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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/gradients/conic-gradient-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698