diff options
Diffstat (limited to 'WebCore/html/HTMLInputElement.cpp')
-rw-r--r-- | WebCore/html/HTMLInputElement.cpp | 57 |
1 files changed, 2 insertions, 55 deletions
diff --git a/WebCore/html/HTMLInputElement.cpp b/WebCore/html/HTMLInputElement.cpp index 5e27449..d6136d8 100644 --- a/WebCore/html/HTMLInputElement.cpp +++ b/WebCore/html/HTMLInputElement.cpp @@ -2427,11 +2427,6 @@ bool HTMLInputElement::defaultChecked() const return !getAttribute(checkedAttr).isNull(); } -void HTMLInputElement::setDefaultChecked(bool defaultChecked) -{ - setAttribute(checkedAttr, defaultChecked ? "" : 0); -} - void HTMLInputElement::setDefaultName(const AtomicString& name) { m_data.setName(name); @@ -2442,41 +2437,11 @@ String HTMLInputElement::accept() const return getAttribute(acceptAttr); } -void HTMLInputElement::setAccept(const String &value) -{ - setAttribute(acceptAttr, value); -} - -String HTMLInputElement::accessKey() const -{ - return getAttribute(accesskeyAttr); -} - -void HTMLInputElement::setAccessKey(const String &value) -{ - setAttribute(accesskeyAttr, value); -} - -String HTMLInputElement::align() const -{ - return getAttribute(alignAttr); -} - -void HTMLInputElement::setAlign(const String &value) -{ - setAttribute(alignAttr, value); -} - String HTMLInputElement::alt() const { return getAttribute(altAttr); } -void HTMLInputElement::setAlt(const String &value) -{ - setAttribute(altAttr, value); -} - int HTMLInputElement::maxLength() const { return m_data.maxLength(); @@ -2495,11 +2460,6 @@ bool HTMLInputElement::multiple() const return !getAttribute(multipleAttr).isNull(); } -void HTMLInputElement::setMultiple(bool multiple) -{ - setAttribute(multipleAttr, multiple ? "" : 0); -} - void HTMLInputElement::setSize(unsigned size) { setAttribute(sizeAttr, String::number(size)); @@ -2510,21 +2470,6 @@ KURL HTMLInputElement::src() const return document()->completeURL(getAttribute(srcAttr)); } -void HTMLInputElement::setSrc(const String &value) -{ - setAttribute(srcAttr, value); -} - -String HTMLInputElement::useMap() const -{ - return getAttribute(usemapAttr); -} - -void HTMLInputElement::setUseMap(const String &value) -{ - setAttribute(usemapAttr, value); -} - void HTMLInputElement::setAutofilled(bool b) { if (b == m_autofilled) @@ -2730,6 +2675,7 @@ bool HTMLInputElement::parseToDateComponents(InputType type, const String& formS } #if ENABLE(DATALIST) + HTMLElement* HTMLInputElement::list() const { return dataList(); @@ -2794,6 +2740,7 @@ HTMLOptionElement* HTMLInputElement::selectedOption() const } return 0; } + #endif // ENABLE(DATALIST) void HTMLInputElement::stepUpFromRenderer(int n) |