[Webkit-unassigned] [Bug 41146] Implement the .dataset DOM property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 29 16:08:51 PDT 2010


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





--- Comment #2 from Sam Weinig <sam at webkit.org>  2010-06-29 16:08:51 PST ---
Created an attachment (id=60068)
 --> (https://bugs.webkit.org/attachment.cgi?id=60068)
[WIP] Patch

I am throwing up my WIP patch so that I don't loose track of it.  Things that should be addressed before landing:

- The implementation of item() and contains() are unnecessarily slow and allocate an unnecessary String for the propertyNameMatchesAttributeName() check.
- I am not sure the behavior for an attribute called "data-" (nothing following the hyphen) is correct.  (With this patch, for <div data-="value">, div.dataset[""] == "value"). This should also be included in the test.
- I have not included build system changes for all the ports.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list