[Webkit-unassigned] [Bug 7104] New: Contents of comments aren't available via DOM calls.

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Feb 6 09:28:47 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7104

           Summary: Contents of comments aren't available via DOM calls.
           Product: WebKit
           Version: 417.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: JavaScript
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: blmatthews at gmail.com


In non-Safari browsers, the contents of HTML comments are available by
document.getElementById(id).innerHTML. They aren't in Safari. I'll attach a
simple HTML file that demonstrates the problem. When you open the attached file
in Safari, you'll get a JavaScript alert reading "from commentdiv: World" and
nothing else. If you open the same file in Firefox, you'll get an alert reading
"from commentdiv: World" then the comment.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list