[Webkit-unassigned] [Bug 10720] New: REGRESSION: YUI getElementsByClassName returns wrong value

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Sep 4 00:48:38 PDT 2006


           Summary: REGRESSION: YUI getElementsByClassName returns wrong
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P1
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: pewtermoose at gmail.com

The collection returned by YUI's getElementsByClassName returns "[object
HTMLAnchorElement]" instead of the expected value.  This is a regression from
Safari 2.0.4 and Firefox.

However, as mitz pointed out on irc, when accessing the array item individually
(getElementsByClassName('foo')[0]), the correct value is returned.

The testcase I will upload shortly shows this more clearly.  I've cut down as
much of the unnecessary bits from the yahoo files as possible.

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