layout/reftests/backgrounds/gradient/scaled-color-stop-position.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/publicdomain/zero/1.0/
michael@0 4 -->
michael@0 5 <!DOCTYPE html>
michael@0 6 <html>
michael@0 7 <head>
michael@0 8 <title>Color stop positioning for scaled gradients as backgrounds</title>
michael@0 9 <style type="text/css">
michael@0 10 #outer
michael@0 11 {
michael@0 12 border: 1px solid black;
michael@0 13 width: 600px; height: 300px;
michael@0 14 /* 250px stop is halfway along 500px diagonal */
michael@0 15 background-image: -moz-linear-gradient(top left, lime 0%, teal 250px, black 100%);
michael@0 16 background-image: linear-gradient(top left, lime 0%, teal 250px, black 100%);
michael@0 17 background-size: 400px auto;
michael@0 18 background-repeat: no-repeat;
michael@0 19 }
michael@0 20 </style>
michael@0 21 </head>
michael@0 22 <body>
michael@0 23 <div id="outer"></div>
michael@0 24 </body>
michael@0 25 </html>

mercurial