<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26282</bug_id>
          
          <creation_ts>2014-07-08 13:22:38 +0000</creation_ts>
          <short_desc>[WebDriver Spec]: ato to research root element behavior  HTML / XML</short_desc>
          <delta_ts>2014-07-09 15:18:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Browser Test/Tools WG</product>
          <component>WebDriver</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>20860</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Luke Inman-Semerau">luke.semerau</reporter>
          <assigned_to name="Andreas Tolfsen">ato</assigned_to>
          <cc>mike</cc>
          
          <qa_contact name="Browser Testing and Tools WG">public-browser-tools-testing</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108784</commentid>
    <comment_count>0</comment_count>
    <who name="Luke Inman-Semerau">luke.semerau</who>
    <bug_when>2014-07-08 13:22:38 +0000</bug_when>
    <thetext>action item to be completed from Februrary F2F</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108785</commentid>
    <comment_count>1</comment_count>
    <who name="Andreas Tolfsen">ato</who>
    <bug_when>2014-07-08 13:25:42 +0000</bug_when>
    <thetext>http://www.w3.org/2014/02/25-testing-minutes.html#action14</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108824</commentid>
    <comment_count>2</comment_count>
    <who name="Andreas Tolfsen">ato</who>
    <bug_when>2014-07-09 15:18:52 +0000</bug_when>
    <thetext>According to enlightened sources I&apos;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&apos;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&apos;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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>