layout/reftests/bugs/323656-2-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/323656-2-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <title>Test inheritance through fieldsets and legends</title>
     1.8 +    <style>
     1.9 +      /**
    1.10 +       * The idea is that "color" inherits by default while "border-color" does
    1.11 +       * not.  So if the former is red and the latter is green on a parent, and
    1.12 +       * the child's border-color is set to "inherit", it'll be green only if
    1.13 +       * the child is inheriting from the parent.  If not, it'll either be
    1.14 +       * whatever the border-color is on what it's inheriting from, which will
    1.15 +       * be red if what it's inheriting from has the default (currentColor)
    1.16 +       * border-color).
    1.17 +       */
    1.18 +      
    1.19 +      /* 't' for "test" */
    1.20 +      * { color: green; border: 0px hidden green; background: transparent }
    1.21 +      .t { border-color: green }
    1.22 +      .t > :first-child
    1.23 +        { border-color: green; border-style: solid; border-width: 10px }
    1.24 +    </style>
    1.25 +  </head>
    1.26 +  <body>
    1.27 +    <fieldset class="t"><div></div></fieldset>
    1.28 +    <fieldset><legend class="t"><span></span></legend></fieldset>
    1.29 +    <fieldset class="t"><div></div></fieldset>
    1.30 +    <fieldset><legend class="t"><span></span></legend></fieldset>
    1.31 +  </body>
    1.32 +</html>

mercurial