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

Unified Diff: third_party/WebKit/LayoutTests/fast/gradients/radial-clamping.html

Issue 2041653002: Clamp radial gradient end radii (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/gradients/radial-clamping-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/gradients/radial-clamping.html
diff --git a/third_party/WebKit/LayoutTests/fast/gradients/radial-clamping.html b/third_party/WebKit/LayoutTests/fast/gradients/radial-clamping.html
new file mode 100644
index 0000000000000000000000000000000000000000..bd4fc47d177fa0f79c664a1a2ed96c0f72efb19e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/gradients/radial-clamping.html
@@ -0,0 +1,59 @@
+<DOCTYPE html>
+
+<style>
+div {
+ display: inline-block;
+ margin: 10px;
+ width: 400px;
+ height: 100px;
+}
+
+.r1 {
+ background-image: repeating-radial-gradient(closest-corner ellipse at -184467440737095516150000000000000000000% 37%, red, green);
+}
+
+.r2 {
+ background-image: repeating-radial-gradient(farthest-corner ellipse at -184467440737095516150000000000000000000% 37%, red, green);
+}
+
+.r3 {
+ background-image: repeating-radial-gradient(closest-side ellipse at -184467440737095516150000000000000000000% 37%, red, green);
+}
+
+.r4 {
+ background-image: repeating-radial-gradient(farthest-side ellipse at -184467440737095516150000000000000000000% 37%, red, green);
+}
+
+.r5 {
+ background-image: repeating-radial-gradient(closest-corner ellipse at 184467440737095516150000000000000000000% 37%, red, green);
+}
+
+.r6 {
+ background-image: repeating-radial-gradient(farthest-corner ellipse at 184467440737095516150000000000000000000% 37%, red, green);
+}
+
+.r7 {
+ background-image: repeating-radial-gradient(closest-side ellipse at 184467440737095516150000000000000000000% 37%, red, green);
+}
+
+.r8 {
+ background-image: repeating-radial-gradient(farthest-side ellipse at 184467440737095516150000000000000000000% 37%, red, green);
+}
+
+</style>
+
+<div class="r1"></div>
+<div class="r2"></div>
+<div class="r3"></div>
+<div class="r4"></div>
+<div class="r5"></div>
+<div class="r6"></div>
+<div class="r7"></div>
+<div class="r8"></div>
+
+PASS: did not crash.
+
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/gradients/radial-clamping-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698