1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/323656-3-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,53 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <head> 1.7 + <title> 1.8 + Test inheritance through various anonymous boxes: {ib} 1.9 + situations, buttons, overflow, columns, listboxes, first-line 1.10 + </title> 1.11 + <style> 1.12 + /** 1.13 + * The idea is that "color" inherits by default while "border-color" does 1.14 + * not. So if the former is red and the latter is green on a parent, and 1.15 + * the child's border-color is set to "inherit", it'll be green only if 1.16 + * the child is inheriting from the parent. If not, it'll either be 1.17 + * whatever the border-color is on what it's inheriting from, which will 1.18 + * be red if what it's inheriting from has the default (currentColor) 1.19 + * border-color). 1.20 + */ 1.21 + 1.22 + /* 't' for "test" */ 1.23 + * { color: green; border: 0px hidden green; background: transparent } 1.24 + .t { border-color: green } 1.25 + .t:not(.d2) > :first-child, .d2 > span 1.26 + { border-color: green; border-style: solid; border-width: 10px } 1.27 + .f::first-line { border-color: green } 1.28 + </style> 1.29 + </head> 1.30 + <body> 1.31 + <div class="t"><div></div></div> 1.32 + <span class="t"><div></div></span> 1.33 + <span style="position: relative" class="t"><div></div></span> 1.34 + <div class="f"><span></span><br><span></span></div> 1.35 + <button class="t"><div></div></button> 1.36 + <div style="overflow: auto" class="t"><div></div></div> 1.37 + <div style="-moz-column-count: 2" class="t"><div></div></div> 1.38 + <select size="2" class="t"> 1.39 + <option></option> 1.40 + </select> 1.41 + 1.42 + <div class="t"><div></div></div> 1.43 + <span class="t"><div></div></span> 1.44 + <span style="position: relative" class="t"><div></div></span> 1.45 + <div class="f"><span></span><br><span></span></div> 1.46 + <button class="t"><div></div></button> 1.47 + <div style="overflow: auto" class="t"><div></div></div> 1.48 + <div style="-moz-column-count: 2" class="t"><div></div></div> 1.49 + <select size="2" class="t"> 1.50 + <option></option> 1.51 + </select> 1.52 + 1.53 + <span class="t d2"><div></div><span></span></span> 1.54 + <span style="position: relative" class="t d2"><div></div><span></span></span> 1.55 + </body> 1.56 +</html>