mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
32 lines
785 B
HTML
32 lines
785 B
HTML
<!DOCTYPE html>
|
|
<title>Test Bug 594935 - support calc() on gradient stop positions</title>
|
|
<style>
|
|
div {
|
|
width:100px;
|
|
height:100px;
|
|
background:red;
|
|
margin:5px 0 0 5px;
|
|
float:left;
|
|
}
|
|
div#one {
|
|
background: -moz-linear-gradient(lime 0px, lime 90px, blue 90px, blue 100%);
|
|
}
|
|
div#two {
|
|
background: -moz-linear-gradient(blue 0px ,green 30px ,red 40px ,white 60px , lime 80px);
|
|
}
|
|
div#three {
|
|
background: -moz-linear-gradient(blue 0px ,purple 20px ,red 40px ,blue 60px , lime 80px);
|
|
}
|
|
div#four {
|
|
background: -moz-linear-gradient(blue 0px ,green 30px ,red 40px ,blue 60px , yellow 80px);
|
|
}
|
|
div#five {
|
|
background: -moz-linear-gradient(red 0px ,green 30px);
|
|
}
|
|
</style>
|
|
<div id="one">1</div>
|
|
<div id="two">2</div>
|
|
<div id="three">3</div>
|
|
<div id="four">4</div>
|
|
<div id="five">5</div>
|