WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
50335
Missing DOM property for incremental input attribute
https://bugs.webkit.org/show_bug.cgi?id=50335
Summary
Missing DOM property for incremental input attribute
Erik Arvidsson
Reported
2010-12-01 10:40:07 PST
There should be a DOM property that maps to the incremental input attribute.
Attachments
Patch
(6.54 KB, patch)
2010-12-01 16:27 PST
,
Erik Arvidsson
no flags
Details
Formatted Diff
Diff
Patch
(4.16 KB, patch)
2010-12-01 16:58 PST
,
Erik Arvidsson
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Erik Arvidsson
Comment 1
2010-12-01 16:27:17 PST
Created
attachment 75332
[details]
Patch
Darin Adler
Comment 2
2010-12-01 16:30:28 PST
Comment on
attachment 75332
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=75332&action=review
review- because I would prefer that we not add unused functions to the class. Now that we have Reflect, we don’t need to write C++ getters and setters for most attributes, although there are exceptions.
> WebCore/html/HTMLInputElement.cpp:1586 > +bool HTMLInputElement::incremental() const > +{ > + return fastHasAttribute(incrementalAttr); > +} > + > +void HTMLInputElement::setIncremental(bool incremental) > +{ > + setBooleanAttribute(incrementalAttr, incremental); > +}
These are not needed. No reason to add these.
> WebCore/html/HTMLInputElement.h:198 > + bool incremental() const; > + void setIncremental(bool);
These are not needed. No reason to add these.
> WebCore/html/HTMLInputElement.idl:73 > + attribute [Reflect] boolean incremental;
This is enough to fix the bug.
Erik Arvidsson
Comment 3
2010-12-01 16:58:32 PST
Created
attachment 75335
[details]
Patch
WebKit Commit Bot
Comment 4
2010-12-02 11:22:08 PST
Comment on
attachment 75335
[details]
Patch Clearing flags on attachment: 75335 Committed
r73168
: <
http://trac.webkit.org/changeset/73168
>
WebKit Commit Bot
Comment 5
2010-12-02 11:22:14 PST
All reviewed patches have been landed. Closing bug.
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