[Bug 26282] [WebDriver Spec]: ato to research root element behavior HTML / XML

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26282

Andreas Tolfsen <ato@mozilla.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Andreas Tolfsen <ato@mozilla.com> ---
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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 9 July 2014 15:18:54 UTC