<?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>18172</bug_id>
          
          <creation_ts>2012-07-18 17:32:07 +0000</creation_ts>
          <short_desc>Please clarify how seamless should interact with scrollbars</short_desc>
          <delta_ts>2016-01-25 16:06:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>interopIssue</keywords>
          <priority>P1</priority>
          <bug_severity>editorial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>annevk</cc>
    
    <cc>eric</cc>
    
    <cc>mike</cc>
    
    <cc>ojan</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70810</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:32:07 +0000</bug_when>
    <thetext>This was was cloned from bug 17076 as part of operation convergence.
Originally filed: 2012-05-16 10:59:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-05-16 10:59:15 +0000 
--------------------------------------------------------------------------------
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
================================================================================
 #1   Eric Seidel                                     2012-05-16 11:02:09 +0000 
--------------------------------------------------------------------------------
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.
================================================================================
 #2   Simon Pieters                                   2012-05-16 13:01:07 +0000 
--------------------------------------------------------------------------------
&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>121059</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-06-16 11:02:42 +0000</bug_when>
    <thetext>Agree that it would be good to have a spec change here, and raising priority after reviewing implementer feedback.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121066</commentid>
    <comment_count>2</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-06-16 11:13:10 +0000</bug_when>
    <thetext>Noting that this is simply editorial.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121068</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-06-16 11:22:13 +0000</bug_when>
    <thetext>Noting that while editorial, there&apos;s also a possible interop issue here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124671</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-01-22 13:39:30 +0000</bug_when>
    <thetext>&lt;iframe seamless&gt; has been removed from the HTML Standard.

https://github.com/whatwg/html/commit/1490eba4dba5ab476f0981443a86c01acae01311</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>