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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/323656-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,44 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <title>Test inheritance through various table anonymous boxes</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 +    <table><tr><td class="t"><div></div></td></tr></table>
    1.28 +    <div style="display: table" class="t"><div></div></div>
    1.29 +    <div style="display: table-row-group" class="t"><div></div></div>
    1.30 +    <div style="display: table-row" class="t"><div></div></div>
    1.31 +    <div style="display: table-cell" class="t"><div></div></div>
    1.32 +    <div><span><div style="display: table" class="t"><div></div></div></span></div>
    1.33 +    <div><span><div style="display: table-row-group" class="t"><div></div></div></span></div>
    1.34 +    <div><span><div style="display: table-row" class="t"><div></div></div></span></div>
    1.35 +    <div><span><div style="display: table-cell" class="t"><div></div></div></span></div>
    1.36 +
    1.37 +    <table><tr><td class="t"><div></div></td></tr></table>
    1.38 +    <div style="display: table" class="t"><div></div></div>
    1.39 +    <div style="display: table-row-group" class="t"><div></div></div>
    1.40 +    <div style="display: table-row" class="t"><div></div></div>
    1.41 +    <div style="display: table-cell" class="t"><div></div></div>
    1.42 +    <div><span><div style="display: table" class="t"><div></div></div></span></div>
    1.43 +    <div><span><div style="display: table-row-group" class="t"><div></div></div></span></div>
    1.44 +    <div><span><div style="display: table-row" class="t"><div></div></div></span></div>
    1.45 +    <div><span><div style="display: table-cell" class="t"><div></div></div></span></div>
    1.46 +  </body>
    1.47 +</html>

mercurial