WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
8445
-[DOMHTMLSelectElement multiple] returns no when the select element is multiple
https://bugs.webkit.org/show_bug.cgi?id=8445
Summary
-[DOMHTMLSelectElement multiple] returns no when the select element is multiple
Rachael Worthington (cheers)
Reported
2006-04-17 12:14:13 PDT
- (BOOL)multiple { return ![self _selectElement]->multiple(); } seems like a call to 'multiple' should return YES if it's multiple and not vice versa.
Attachments
Proposed patch
(2.49 KB, patch)
2006-05-01 13:25 PDT
,
Rob Buis
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Rachael Worthington (cheers)
Comment 1
2006-04-17 12:19:04 PDT
http://trac.webkit.org/dev/changeset/9825/trunk/WebCore/kwq/DOMHTML.mm
Looks like it was broken here, along with some other methods, when webkit switched to using a bool to keep track of it's multiple status from just checking if getAttribute(ATTR_MULTIPLE).isNull(), which DID require the inversion to be correct.
Rob Buis
Comment 2
2006-05-01 13:25:10 PDT
Created
attachment 8055
[details]
Proposed patch Simple fix really. Just wondering whether there may be more wrong replacements in objC bindings like this? Cheers, Rob.
Darin Adler
Comment 3
2006-05-01 14:21:44 PDT
Comment on
attachment 8055
[details]
Proposed patch The long term solution for things like this is to automatically generate the Objective-C DOM bindings just as we are doing with the JavaScript bindings. r=me
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug