layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.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.

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4   <title>CSS Test: Test for calc() on background-image gradients</title>
     5   <link rel="author" title="L. David Baron" href="http://dbaron.org/">
     6   <link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation">
     7   <meta name="flags" content="">
     8 <style type="text/css">
    10 p {
    11     height: 50px; width: 200px;
    12     border: thin solid;
    13 }
    15 #one { background-image: radial-gradient(circle farthest-side at calc(50px + 50%) calc(100% - 30px), red, green); }
    17 </style>
    18 </head>
    19 <body>
    20 <p id="one"></p>
    21 </body>
    22 </html>

mercurial