[Webkit-unassigned] [Bug 15172] New: object fallback - empty string for first argument of setAttributeNS does not work like null

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 10 11:04:02 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15172

           Summary: object fallback - empty string for first argument of
                    setAttributeNS does not work like null
           Product: WebKit
           Version: 522+ (nightly)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: shadow2531 at gmail.com


Tested with WebKit-SVN-r25455.

setAttributeNS takes a string for the first argument. Therefore, if you want to
put an attribute in the null namespace, you would use "".

This works fine in Opera and Firefox (so does null), but webkit requires null.

If you do setAttributeNS("", "type", "application/x-unrecognized") on an object
element and append it to the document, if the object has fallback content, it
won't be shown unless you use null instead.


-- 
Configure bugmail: http://bugs.webkit.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