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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>16037</bug_id>
          
          <creation_ts>2007-11-18 05:17:30 -0800</creation_ts>
          <short_desc>Scraps not displayed in Orkut due to unclosed &lt;iframe&gt; tag</short_desc>
          <delta_ts>2009-01-06 11:21:52 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Evangelism</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.orkut.com/Scrapbook.aspx</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>GoogleBug, HasReduction, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Indrek Siitan">tfr</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abob</cc>
    
    <cc>dstorey</cc>
    
    <cc>markmalone</cc>
    
    <cc>rpereira</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61570</commentid>
    <comment_count>0</comment_count>
    <who name="Indrek Siitan">tfr</who>
    <bug_when>2007-11-18 05:17:30 -0800</bug_when>
    <thetext>As the summary says - the &quot;scraps&quot; in Orkut are not displayed at all - they appear in the source, but when rendering, the page is cut off after the title bar for the module.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61577</commentid>
    <comment_count>1</comment_count>
    <who name="Matt Lilek">dev+webkit</who>
    <bug_when>2007-11-18 09:57:51 -0800</bug_when>
    <thetext>Confirmed with r27879.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61578</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-11-18 10:17:17 -0800</bug_when>
    <thetext>This issue is caused by an unclosed &lt;iframe&gt; tag in a document with an HTML 4.01 Transitional doctype:

  &lt;div class=&quot;floatdiv&quot; id=&quot;iframe_parent&quot;&gt;
  &lt;iframe id=&quot;scrap_extn_iframe&quot; name=&quot;scrap_extn_iframe&quot; src=&quot;&quot;/&gt;
  &lt;!--[if lte IE 7.0]&gt;&lt;iframe&gt;&lt;/iframe&gt;&lt;![endif]--&gt;
  &lt;/div&gt;

Both Safari 2, Safari 3, ToT WebKit and Opera 9.24/9.50b leave the rest of the page blank because their parsers are looking for an &lt;/iframe&gt; closing tag.

Firefox 2.0.0.9 and 3.0b2pre (Nov 18, 2007) both apparently find the &lt;/iframe&gt; within the comment (per the coloration of their View Source window), which is highly suspect as well, but makes the page work for Firefox.

MSIE 7 apparently recognizes the self-closing &lt;iframe/&gt; tag (even though the document isn&apos;t XHTML), and of course parses the an additional &lt;iframe&gt;&lt;/iframe&gt; tags inside the VBScript.

Best fix would be to have Google fix the self-closing iframe to:

  &lt;iframe id=&quot;scrap_extn_iframe&quot; name=&quot;scrap_extn_iframe&quot; src=&quot;&quot;&gt;&lt;/iframe&gt;

Marking this as an evangelism bug due to the above analysis.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61579</commentid>
    <comment_count>3</comment_count>
      <attachid>17366</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-11-18 10:18:05 -0800</bug_when>
    <thetext>Created attachment 17366
Test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61584</commentid>
    <comment_count>4</comment_count>
    <who name="David Storey">dstorey</who>
    <bug_when>2007-11-18 10:55:47 -0800</bug_when>
    <thetext>We (Opera) have the same issue in out bts.  We agree it is a evangelism issue and FF are incorrect.  I&apos;m activly seeking a Google Orkut contact to fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61811</commentid>
    <comment_count>5</comment_count>
    <who name="Pereira">rpereira</who>
    <bug_when>2007-11-20 11:39:26 -0800</bug_when>
    <thetext>I&apos;m a Googler and already contact Orkut Team to fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61825</commentid>
    <comment_count>6</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-11-20 12:53:16 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; I&apos;m a Googler and already contact Orkut Team to fix this.

Thank you!

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61839</commentid>
    <comment_count>7</comment_count>
    <who name="David Storey">dstorey</who>
    <bug_when>2007-11-20 13:53:25 -0800</bug_when>
    <thetext>One of my google contacts is looking for someone to fix it too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61854</commentid>
    <comment_count>8</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-11-20 15:18:09 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; One of my google contacts is looking for someone to fix it too.

Thanks, David!  I also cc-ed abob@google.com for this reason, although he&apos;s been quiet for a while now.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61856</commentid>
    <comment_count>9</comment_count>
    <who name="David Storey">dstorey</who>
    <bug_when>2007-11-20 15:28:41 -0800</bug_when>
    <thetext>I have:

&quot;I talked to the product manager for Orkut and we have produced a fix for the issue which should be deployed in the next production push for Orkut (late November, early December).
 Please let me know if you have any further questions. &quot;

We are getting tons of dupes on this (160 a day for Mini only).  They offered to do some sort of pre canned response in the mean time.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69246</commentid>
    <comment_count>10</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-02-03 06:26:14 -0800</bug_when>
    <thetext>&lt;rdar://problem/5721953&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79895</commentid>
    <comment_count>11</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-05-08 11:25:38 -0700</bug_when>
    <thetext>So if this has been resolved on Orkut&apos;s side, the only thing left to decide is if this is proper HTML5 parsing or not.  If this is correct HTML5 parsing, then we can close this bug, if not, we&apos;ll need to fix it. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79898</commentid>
    <comment_count>12</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-05-08 11:30:52 -0700</bug_when>
    <thetext>Our parsing looks correct:

http://james.html5.org/cgi-bin/parsetree/parsetree.py?source=++%3Cdiv%3E%0D%0A++%3Ciframe+style%3D%22display%3A+none%3B%22+src%3D%22%22%2F%3E%0D%0A++%3C%21--%5Bif+lte+IE+7.0%5D%3E%3Ciframe%3E%3C%2Fiframe%3E%3C%21%5Bendif%5D--%3E%0D%0A++%3C%2Fdiv%3E%0D%0A%3Cdiv%3E%3Cspan+style%3D%22color%3A+green%3B%22%3ESUCCESS%3C%2Fspan%3E+This+text+is+visible.%3C%2Fdiv%3E

http://software.hixie.ch/utilities/js/live-dom-viewer/?%20%20%3Cdiv%3E%0A%20%20%3Ciframe%20style%3D%22display%3A%20none%3B%22%20src%3D%22%22%2F%3E%0A%20%20%3C!--%5Bif%20lte%20IE%207.0%5D%3E%3Ciframe%3E%3C%2Fiframe%3E%3C!%5Bendif%5D--%3E%0A%20%20%3C%2Fdiv%3E%0A%3Cdiv%3E%3Cspan%20style%3D%22color%3A%20green%3B%22%3ESUCCESS%3C%2Fspan%3E%20This%20text%20is%20visible.%3C%2Fdiv%3E

Closing as invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104581</commentid>
    <comment_count>13</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-01-06 11:21:47 -0800</bug_when>
    <thetext>Actually(In reply to comment #12)
&gt; Closing as invalid.

Actually, this bug was about an evangelism issue in Orkut (a Google property).  That bug seems to be fixed now, so I&apos;m going to reopen this to reclose it as RESOLVED FIXED.

</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>17366</attachid>
            <date>2007-11-18 10:18:05 -0800</date>
            <delta_ts>2007-11-18 10:18:05 -0800</delta_ts>
            <desc>Test case</desc>
            <filename>bug-16037-test.html</filename>
            <type>text/html</type>
            <size>187</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">ICA8ZGl2PgogIDxpZnJhbWUgc3R5bGU9ImRpc3BsYXk6IG5vbmU7IiBzcmM9IiIvPgogIDwhLS1b
aWYgbHRlIElFIDcuMF0+PGlmcmFtZT48L2lmcmFtZT48IVtlbmRpZl0tLT4KICA8L2Rpdj4KPGRp
dj48c3BhbiBzdHlsZT0iY29sb3I6IGdyZWVuOyI+U1VDQ0VTUzwvc3Bhbj4gVGhpcyB0ZXh0IGlz
IHZpc2libGUuPC9kaXY+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>