<?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>7104</bug_id>
          
          <creation_ts>2006-02-06 09:28:46 -0800</creation_ts>
          <short_desc>Contents of comments aren&apos;t available via DOM calls.</short_desc>
          <delta_ts>2006-02-06 11:46:35 -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>JavaScriptCore</component>
          <version>417.x</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>5312</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Brian L. Matthews">blmatthews</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>joost</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31580</commentid>
    <comment_count>0</comment_count>
    <who name="Brian L. Matthews">blmatthews</who>
    <bug_when>2006-02-06 09:28:46 -0800</bug_when>
    <thetext>In non-Safari browsers, the contents of HTML comments are available by document.getElementById(id).innerHTML. They aren&apos;t in Safari. I&apos;ll attach a simple HTML file that demonstrates the problem. When you open the attached file in Safari, you&apos;ll get a JavaScript alert reading &quot;from commentdiv: World&quot; and nothing else. If you open the same file in Firefox, you&apos;ll get an alert reading &quot;from commentdiv: World&quot; then the comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31581</commentid>
    <comment_count>1</comment_count>
      <attachid>6290</attachid>
    <who name="Brian L. Matthews">blmatthews</who>
    <bug_when>2006-02-06 09:29:34 -0800</bug_when>
    <thetext>Created attachment 6290
Simple HTML file demonstrating bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31583</commentid>
    <comment_count>2</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-02-06 09:58:10 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 4273 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31603</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-02-06 11:41:46 -0800</bug_when>
    <thetext>I&apos;m pretty sure this isn&apos;t a duplicate of bug 4273.  Reopening.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31606</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-02-06 11:43:52 -0800</bug_when>
    <thetext>Perhaps it&apos;s a duplicate of Bug 5312?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31608</commentid>
    <comment_count>5</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-02-06 11:46:35 -0800</bug_when>
    <thetext>I mistakenly picked the wrong bug of which this is a duplicate. 4273 is actually the number of the testcase attached to the right one, which is 5312.

*** This bug has been marked as a duplicate of 5312 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>6290</attachid>
            <date>2006-02-06 09:29:34 -0800</date>
            <delta_ts>2006-02-06 09:29:34 -0800</delta_ts>
            <desc>Simple HTML file demonstrating bug.</desc>
            <filename>comments.html</filename>
            <type>text/html</type>
            <size>432</size>
            <attacher name="Brian L. Matthews">blmatthews</attacher>
            
              <data encoding="base64">PGh0bWw+CiA8aGVhZD4KICA8dGl0bGU+Q29tbWVudCB0ZXN0PC90aXRsZT4KICA8c2NyaXB0IHR5
cGU9InRleHQvamF2YXNjcmlwdCI+CiAgIDwhLS0KZnVuY3Rpb24gc2hvdygpCnsKICAgIHZhciBl
ID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2NvbW1lbnRkaXYnKTsKCiAgICBpZiAoZSkKCWFs
ZXJ0KCdGcm9tIGNvbW1lbnRkaXY6XG4nICsgZS5pbm5lckhUTUwpOwogICAgZWxzZQoJYWxlcnQo
J05vIGNvbW1lbnRkaXYgZWxlbWVudCcpOwp9Cgp3aW5kb3cub25sb2FkID0gc2hvdzsKICAgLy8t
LT4KICA8L3NjcmlwdD4KIDwvaGVhZD4KIDxib2R5PgogIEhlbGxvCiAgPGRpdiBpZD1jb21tZW50
ZGl2PgogICBXb3JsZAogICA8IS0tCiAgICBIZXJlJ3Mgc29tZSBzdHVmZiBpbiBhIGNvbW1lbnQK
ICAgLS0+CiAgPC9kaXY+CiA8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>