<?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>17076</bug_id>
          
          <creation_ts>2012-05-16 10:59:15 +0000</creation_ts>
          <short_desc>Please clarify how seamless should interact with scrollbars</short_desc>
          <delta_ts>2012-11-06 02:30:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#attr-iframe-seamless</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>eric</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>ojan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67780</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-05-16 10:59:15 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#attr-iframe-seamless
Complete: http://www.whatwg.org/c#attr-iframe-seamless

Comment:
Please clarify how seamless should interact with scrollbars

Posted from: 173.164.128.209
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.3 Safari/536.11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67781</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel">eric</who>
    <bug_when>2012-05-16 11:02:09 +0000</bug_when>
    <thetext>For example, this section:

In visual media, in a CSS-supporting user agent: the user agent must force the height of the initial containing block of the active document of the nested browsing context of the iframe to zero.

This is intended to get around the otherwise circular dependency of percentage dimensions that depend on the height of the containing block, thus affecting the height of the document&apos;s bounding box, thus affecting the height of the viewport, thus affecting the size of the initial containing block.

This would cause user agents to add scrollbars in their initial computation, since the containing block starts at 0px, no?

Similarly, what about child documents in quirks mode?  There the body/html are expected to fit to the viewport size?  For now in WebKit I&apos;ve disabled this quirk when the document is seamless, but that doesn&apos;t feel 100% right.

Some explanation of how the scrollbar negotiation should work would be helpful. :)  Presumably it should work exactly as &lt;div style=&quot;scroll: auto&quot;&gt; would, but it&apos;s a bit tricky due to the assumption of html/body as being the root (at least in the code).  Presumably we should treat html/body as just normal blocks inside the seamless iframe block.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67784</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-05-16 13:01:07 +0000</bug_when>
    <thetext>&gt; Similarly, what about child documents in quirks mode?  There the body/html are
&gt; expected to fit to the viewport size?

That&apos;s not expected. It&apos;s what WebKit does, but Opera and Gecko don&apos;t. I&apos;m not sure, but I think IE9 in non-compat-view quirks mode also doesn&apos;t. The quirks mode spec specifies the Opera/Gecko behavior. http://simon.html5.org/specs/quirks-mode#the-percentage-height-calculation-quirk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70811</commentid>
    <comment_count>3</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:32:10 +0000</bug_when>
    <thetext>This bug was cloned to create bug 18172 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73202</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-09-04 22:01:03 +0000</bug_when>
    <thetext>Where would the scroll bars come in? Do you have an example?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77929</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-11-06 02:30:40 +0000</bug_when>
    <thetext>eseidel: ping. I don&apos;t understand this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>