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

Unified Diff: LayoutTests/fast/gradients/unprefixed-repeating-gradient-color-hint.html

Issue 631753002: Adding support for color interpolation hints to CSS gradients. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: offset1->offsetLeft Created 6 years, 2 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/gradients/unprefixed-repeating-gradient-color-hint.html
diff --git a/LayoutTests/fast/gradients/unprefixed-repeating-gradient-color-hint.html b/LayoutTests/fast/gradients/unprefixed-repeating-gradient-color-hint.html
new file mode 100644
index 0000000000000000000000000000000000000000..ae614d09a64d9d2f12fb5dc5f288c8fe26830409
--- /dev/null
+++ b/LayoutTests/fast/gradients/unprefixed-repeating-gradient-color-hint.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+ <style type="text/css" media="screen">
+ .box {
+ display: inline-block;
+ height: 100px;
+ width: 200px;
+ border: 1px solid black;
+ }
+
+ .linear1 {
+ background-image: repeating-linear-gradient(to right, red 90%, 95%, blue 105%);
+ }
+
+ .linear2 {
+ background-image: repeating-linear-gradient(to right, red 2em, 2.1em, blue 3em);
+ }
+
+ .linear3 {
+ background-image: repeating-linear-gradient(to right, red, 55px, blue 60px);
+ }
+
+ .radial1 {
+ background-image: repeating-radial-gradient(at left, red 10%, 25%, blue 50%);
+ }
+
+ .radial2 {
+ background-image: repeating-radial-gradient(at top, red 2em, 2.4em, blue 6em);
+ }
+
+ .radial3 {
+ background-image: repeating-radial-gradient(circle at left, red, 10px, blue 60px);
+ }
+
+ </style>
+ <script type="text/javascript" charset="utf-8">
+ if (window.testRunner) {
+ testRunner.dumpAsTextWithPixelResults();
+ }
+ </script>
+</head>
+<body>
+
+ <div class="linear1 box"></div>
+ <div class="linear2 box"></div>
+ <div class="linear3 box"></div>
+ <div class="radial1 box"></div>
+ <div class="radial2 box"></div>
+ <div class="radial3 box"></div>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698