Bug 7108 - Autogenerate most of Element
Summary: Autogenerate most of Element
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-06 12:16 PST by Anders Carlsson
Modified: 2006-02-08 04:04 PST (History)
0 users

See Also:


Attachments
Patch (18.51 KB, patch)
2006-02-06 12:36 PST, Anders Carlsson
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2006-02-06 12:16:17 PST
Patch coming up...
Comment 1 Anders Carlsson 2006-02-06 12:36:24 PST
Created attachment 6299 [details]
Patch
Comment 2 Darin Adler 2006-02-06 17:12:19 PST
Comment on attachment 6299 [details]
Patch

Can we handle the null case inside setAttributeNS itself rather than in the binding?
Comment 3 Maciej Stachowiak 2006-02-06 18:14:12 PST
setAttributeNS should treat null and empty strings differently, we just need to preserve the distinction when calling across from JS. This might always be the right thing to do for strings, or maybe sometimes null should be rejected.