This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
"The exception to this would be the BODY element, which is generally assumed to always be displayed by users of the WebDriver spec" generally? when? <body></body> this element has 0 height / width. should it be 'visible' <body style="display:none">....</body> this element is explicitly invisible and should not be considered visible. We aught to define the cases when body can be considered invisible (also style="visibility:hidden" ?)
Add a MUST on that BODY is always visible.
Fixed in https://dvcs.w3.org/hg/webdriver/rev/81cc3d3b5f5f
Why body should always be considered visible? IMO body doesn't look visible in case of: <body style="display:none">....</body>
view the browser on an html page with that. What do you see? You see a big blank white page... you "see" it! :) body is 'specail'
special* ha!
Allow me to shed some light on why the body should always be considered visible. In the CSS specification the HTML and BODY elements are considered special snowflakes. Based on an order of preference (which always prefers the ancestral element, that is the HTML element) if background-color or background-image is set, that gets transposed on to the browser's painting canvas. In effect this means that what you see on the screen in a document containing <body></body> (empty body) is always visible because the default value of background-color for the BODY element is "transparent", which the CSS spec defines as user agent specific behaviour. In the case of desktop browsers that means falling back to base.css (or the equivalent) which defines the colour white to be the default.
The relevant spec prose around this is defined here: http://dev.w3.org/csswg/css-backgrounds/#special-backgrounds