[Webkit-unassigned] [Bug 15127] New: getElementById enhancement request

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 31 21:20:29 PDT 2007


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

           Summary: getElementById enhancement request
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jason.hu at etcc.com


getElementById function retrieves element by the "id" attribute, but IE browser
also checks "name" attribute too if the "id" doesn't exist. 
I noticed many web pages were code in the way, it calls "getElementById" and
only "name" attribute exist for the element, 

so can you add this simple check if the "id" exist, use "id", otherwise use
"name"?

thanks


-- 
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