Bug 19974 - getElementsByClassName not live enough ;)
: getElementsByClassName not live enough ;)
Product: WebKit
Classification: Unclassified
Component: HTML DOM
: 528+ (Nightly build)
: PC Mac OS X 10.5
: P2 Normal
Assigned To: David Smith
: HasReduction
Depends on:
  Show dependency treegraph
Reported: 2008-07-10 13:26 PDT by Anne van Kesteren
Modified: 2008-11-26 23:35 PST (History)
4 users (show)

See Also:

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

Note You need to log in before you can comment on or make changes to this bug.
Description Anne van Kesteren 2008-07-10 13:26:30 PDT
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 David Smith 2008-10-22 11:05:45 PDT
Created attachment 24560 [details]
Easier (imo) to understand testcase
Comment 3 David Smith 2008-10-22 13:47:28 PDT
Created attachment 24570 [details]

I'm a little worried about the performance implications of this, but not sure how the best way to test would be.
Comment 4 Anders Carlsson 2008-10-22 17:44:34 PDT
Comment on attachment 24570 [details]

Comment 5 David Smith 2008-10-22 17:50:21 PDT
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 David Smith 2008-11-26 23:35:00 PST
*** Bug 22523 has been marked as a duplicate of this bug. ***