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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5 <style type="text/css" media="screen">
6 .box {
7 display: inline-block;
8 height: 100px;
9 width: 200px;
10 border: 1px solid black;
11 }
12
13 .linear1 {
14 background-image: repeating-linear-gradient(to right, red 90%, 95%, blue 1 05%);
15 }
16
17 .linear2 {
18 background-image: repeating-linear-gradient(to right, red 2em, 2.1em, blue 3em);
19 }
20
21 .linear3 {
22 background-image: repeating-linear-gradient(to right, red, 55px, blue 60px );
23 }
24
25 .radial1 {
26 background-image: repeating-radial-gradient(at left, red 10%, 25%, blue 50 %);
27 }
28
29 .radial2 {
30 background-image: repeating-radial-gradient(at top, red 2em, 2.4em, blue 6 em);
31 }
32
33 .radial3 {
34 background-image: repeating-radial-gradient(circle at left, red, 10px, blu e 60px);
35 }
36
37 </style>
38 <script type="text/javascript" charset="utf-8">
39 if (window.testRunner) {
40 testRunner.dumpAsTextWithPixelResults();
41 }
42 </script>
43 </head>
44 <body>
45
46 <div class="linear1 box"></div>
47 <div class="linear2 box"></div>
48 <div class="linear3 box"></div>
49 <div class="radial1 box"></div>
50 <div class="radial2 box"></div>
51 <div class="radial3 box"></div>
52
53 </body>
54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698