[Webkit-unassigned] [Bug 20709] Implement HTML 5's HTMLElement.classList property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 16 06:53:10 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=20709





------- Comment #5 from aroben at apple.com  2009-06-16 06:53 PDT -------
(In reply to comment #4)
> (In reply to comment #1)
> > How are CSS class names stored internally? For example if the class attribute
> > is set to "a b c" is this stored as "a b c" or is it stored as a set with "a",
> > "b" and "c"?
> 
> It is stored as a Vector with 3 items: "a", "b", "c". The original order is
> preserved.

You can see the implementation here:
<http://trac.webkit.org/browser/trunk/WebCore/dom/ClassNames.h?rev=43365>.


-- 
Configure bugmail: https://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