layout/reftests/w3c-css/submitted/variables/variable-declaration-46.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <!DOCTYPE html>
     6 <title>CSS Test: Test declaring a variable whose value is "initial" where there is a variable to inherit from.</title>
     7 <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au">
     8 <link rel="help" href="http://www.w3.org/TR/css-variables-1/#defining-variables">
     9 <link rel="match" href="support/color-green-ref.html">
    10 <style>
    11 body {
    12   --a: crimson;
    13 }
    14 p {
    15   color: red;
    16 }
    17 p {
    18   color: orange;
    19   --a: initial;
    20   color: var(--a,green);
    21 }
    22 </style>
    23 <p>This text must be green.</p>

mercurial