Bug 19974 - getElementsByClassName not live enough ;)
: getElementsByClassName not live enough ;)
Status: RESOLVED FIXED
: WebKit
HTML DOM
: 528+ (Nightly build)
: PC Mac OS X 10.5
: P2 Normal
Assigned To:
: http://software.hixie.ch/utilities/js...
: HasReduction
:
:
  Show dependency treegraph
 
Reported: 2008-07-10 13:26 PST by
Modified: 2008-11-26 23:35 PST (History)


Attachments
Easier (imo) to understand testcase (310 bytes, text/html)
2008-10-22 11:05 PST, David Smith
no flags Details
Fix (2.66 KB, patch)
2008-10-22 13:47 PST, David Smith
andersca: review+
Review Patch | Details | Formatted Diff | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-07-10 13:26:30 PST
1. Open the URL.
2. If under "Log:" it does not say 3, 2 the test has failed.

(The version and OS and such are all wrong, as I'm using Opera on Ubuntu at the moment...)
------- Comment #2 From 2008-10-22 11:05:45 PST -------
Created an attachment (id=24560) [details]
Easier (imo) to understand testcase
------- Comment #3 From 2008-10-22 13:47:28 PST -------
Created an attachment (id=24570) [details]
Fix

I'm a little worried about the performance implications of this, but not sure how the best way to test would be.
------- Comment #4 From 2008-10-22 17:44:34 PST -------
(From update of attachment 24570 [details])
r=me
------- Comment #5 From 2008-10-22 17:50:21 PST -------
Landed in r37800. As a workaround for versions that still have this bug, you can force an update by setting just about any non-class property when you set the class.
------- Comment #6 From 2008-11-26 23:35:00 PST -------
*** Bug 22523 has been marked as a duplicate of this bug. ***