Changeset 120158 in webkit
- Timestamp:
- Jun 12, 2012 9:50:42 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r120157 r120158 1 2012-06-12 Edaena Salinas Jasso <edaena@apple.com> 2 3 Can't set el.type on a <button> element 4 https://bugs.webkit.org/show_bug.cgi?id=14439 5 6 Reviewed by Darin Adler. 7 8 * fast/dom/HTMLButtonElement/change-type-expected.txt: Added. 9 * fast/dom/HTMLButtonElement/change-type.html: Added. 10 1 11 2012-06-12 Dominic Cooney <dominicc@chromium.org> 2 12 -
trunk/Source/WebCore/ChangeLog
r120156 r120158 1 2012-06-12 Edaena Salinas Jasso <edaena@apple.com> 2 3 Can't set el.type on a <button> element 4 https://bugs.webkit.org/show_bug.cgi?id=14439 5 6 Reviewed by Darin Adler. 7 8 Test: fast/dom/HTMLButtonElement/change-type.html 9 10 * bindings/objc/PublicDOMInterfaces.h: 11 * html/HTMLButtonElement.cpp: 12 (WebCore::HTMLButtonElement::setType): Added implementation of setType method. 13 (WebCore): 14 * html/HTMLButtonElement.h: 15 (HTMLButtonElement): Added setType method. 16 * html/HTMLButtonElement.idl: Removed readonly restriction to the type variable. 17 1 18 2012-06-12 Kenichi Ishibashi <bashi@chromium.org> 2 19 -
trunk/Source/WebCore/bindings/objc/PublicDOMInterfaces.h
r119360 r120158 411 411 @property BOOL disabled; 412 412 @property(copy) NSString *name; 413 @property( readonly,copy) NSString *type;413 @property(copy) NSString *type; 414 414 @property(copy) NSString *value; 415 415 @property BOOL autofocus AVAILABLE_IN_WEBKIT_VERSION_4_0; -
trunk/Source/WebCore/html/HTMLButtonElement.cpp
r118442 r120158 52 52 { 53 53 return adoptRef(new HTMLButtonElement(tagName, document, form)); 54 } 55 56 void HTMLButtonElement::setType(const String& type) 57 { 58 setAttribute(typeAttr, type); 54 59 } 55 60 -
trunk/Source/WebCore/html/HTMLButtonElement.h
r117195 r120158 33 33 static PassRefPtr<HTMLButtonElement> create(const QualifiedName&, Document*, HTMLFormElement*); 34 34 35 void setType(const String&); 36 35 37 String value() const; 36 38 -
trunk/Source/WebCore/html/HTMLButtonElement.idl
r109550 r120158 31 31 attribute [Reflect] DOMString formTarget; 32 32 attribute [Reflect] DOMString name; 33 readonlyattribute DOMString type;33 attribute DOMString type; 34 34 attribute [Reflect] DOMString value; 35 35
Note: See TracChangeset
for help on using the changeset viewer.