Home | History | Annotate | Download | only in html

Lines Matching full:value

93     result = value();
111 int rows = attr->value().toInt();
120 int cols = attr->value().toInt();
132 if (equalIgnoringCase(attr->value(), "physical") || equalIgnoringCase(attr->value(), "hard") || equalIgnoringCase(attr->value(), "on"))
134 else if (equalIgnoringCase(attr->value(), "off"))
176 const String& text = (m_wrap == HardWrap && control) ? control->textWithHardLineBreaks() : value();
272 String HTMLTextAreaElement::value() const
278 void HTMLTextAreaElement::setValue(const String& value)
280 setNonDirtyValue(value);
284 void HTMLTextAreaElement::setNonDirtyValue(const String& value)
288 String normalizedValue = value.isNull() ? "" : value;
293 // when the value isn't changing. This matches Firefox behavior, at least.
294 if (normalizedValue == this->value())
306 // Set the caret to the end of the text value.
310 android::WebViewCore::getWebViewCore(document()->view())->updateTextfield(this, false, value);
322 String value = "";
327 value += static_cast<Text*>(n)->data();
330 UChar firstCharacter = value[0];
331 if (firstCharacter == '\r' && value[1] == '\n')
332 value.remove(0, 2);
334 value.remove(0, 1);
336 return value;
356 String value = defaultValue;
357 value.replace("\r\n", "\n");
358 value.replace('\r', '\n');
359 if (value[0] == '\n')
360 value = "\n" + value;
362 insertBefore(document()->createTextNode(value), firstChild(), ec);
364 setNonDirtyValue(value);
370 int value = getAttribute(maxlengthAttr).string().toInt(&ok);
371 return ok && value >= 0 ? value : -1;
384 // Return false for the default value even if it is longer than maxLength.
391 return value().numGraphemeClusters() > static_cast<unsigned>(max);
404 void HTMLTextAreaElement::setAccessKey(const String& value)
406 setAttribute(accesskeyAttr, value);