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


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

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:


There's a bug in the current draft which has been logged here about display:
none and visibility: hidden:


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

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