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

Unified Diff: LayoutTests/fast/css/radial-gradient-position-with-relative-offset-expected.html

Issue 356683005: Support radial-gradients with relative offsets (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated patch Created 6 years, 6 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/css/radial-gradient-position-with-relative-offset-expected.html
diff --git a/LayoutTests/fast/css/radial-gradient-position-with-relative-offset-expected.html b/LayoutTests/fast/css/radial-gradient-position-with-relative-offset-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..354376ca6e1223fd1769ba69dd9832e212f317a5
--- /dev/null
+++ b/LayoutTests/fast/css/radial-gradient-position-with-relative-offset-expected.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+.box {
+ height: 200px;
+ width: 200px;
+ margin: 10px;
+}
+
+.gradient1 {
+ background: radial-gradient(5em circle at 55px 125px, yellow, blue);
+}
+
+.gradient2 {
+ background: radial-gradient(5em circle at 55% 65px, yellow, blue);
+}
+
+.gradient3 {
+ background: radial-gradient(5em circle at 55% 135px, yellow, blue);
+}
+
+.gradient4 {
+ background: radial-gradient(5em circle at 45% 50%, yellow, blue);
+}
+
+.gradient5 {
+ background: radial-gradient(5em circle at 55% 50%, yellow, blue);
+}
+
+.gradient6 {
+ background: radial-gradient(5em circle at 135px 50%, yellow, blue);
+}
+
+</style>
+</head>
+<body>
+ <div class="gradient1 box"></div>
+ <div class="gradient2 box"></div>
+ <div class="gradient3 box"></div>
+ <div class="gradient4 box"></div>
+ <div class="gradient5 box"></div>
+ <div class="gradient6 box"></div>
+</body>
+</html>
« no previous file with comments | « LayoutTests/fast/css/radial-gradient-position-with-relative-offset.html ('k') | Source/core/css/CSSGradientValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698