This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
action item to be completed from Februrary F2F
http://www.w3.org/2014/02/25-testing-minutes.html#action14
According to enlightened sources I've talked to, setting background-color on either the html or the first body element triggers special casing. If set it applies to the whole canvas painting area. This means for example that if your (first) body element has a background-color set and you resize the viewport, the coloured area will always cover the whole viewport. What this means effectively means for WebDriver is that the canvas is always visible, and because html (alternatively the first body) element's styling properties are propagated on to it, it is consequently always visible. This applies to both HTML and XHTML documents (served as application type xml). The relevant spec prose is here: http://dev.w3.org/csswg/css-backgrounds/#special-backgrounds There's a bug in the current draft which has been logged here about display: none and visibility: hidden: http://lists.w3.org/Archives/Public/www-style/2014Jul/0137.html