layout/reftests/w3c-css/submitted/values3/calc-background-linear-gradient-1-ref.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <!DOCTYPE html>
michael@0 2 <head>
michael@0 3 <title>CSS Reference: Support calc() on gradient stop positions</title>
michael@0 4 <link rel="author" title="Yu-Sian (Thomasy) Liu" href="https://bugzilla.mozilla.org/show_bug.cgi?id=594935">
michael@0 5 <meta name="flags" content="">
michael@0 6 <style type="text/css">
michael@0 7 div {
michael@0 8 width:100px;
michael@0 9 height:100px;
michael@0 10 background:red;
michael@0 11 margin:5px 0 0 5px;
michael@0 12 float:left;
michael@0 13 }
michael@0 14 div#one {
michael@0 15 background: linear-gradient(lime 0px, lime 90px, blue 90px, blue 100%);
michael@0 16 }
michael@0 17 div#two {
michael@0 18 background: linear-gradient(blue 0px ,green 30px ,red 40px ,white 60px , lime 80px);
michael@0 19 }
michael@0 20 div#three {
michael@0 21 background: linear-gradient(blue 0px ,purple 20px ,red 40px ,blue 60px , lime 80px);
michael@0 22 }
michael@0 23 div#four {
michael@0 24 background: linear-gradient(blue 0px ,green 30px ,red 40px ,blue 60px , yellow 80px);
michael@0 25 }
michael@0 26 div#five {
michael@0 27 background: linear-gradient(red 0px ,green 30px);
michael@0 28 }
michael@0 29 </style>
michael@0 30 </head>
michael@0 31 <body>
michael@0 32 <div id="one">1</div>
michael@0 33 <div id="two">2</div>
michael@0 34 <div id="three">3</div>
michael@0 35 <div id="four">4</div>
michael@0 36 <div id="five">5</div>
michael@0 37 </body>
michael@0 38 </html>

mercurial