Searched refs:proposedValue (Results 1 – 11 of 11) sorted by relevance
/external/webkit/Source/WebCore/html/ |
D | NumberInputType.cpp | 240 bool NumberInputType::isAcceptableValue(const String& proposedValue) in isAcceptableValue() argument 242 …return proposedValue.isEmpty() || isfinite(parseLocalizedNumber(proposedValue)) || parseToDoubleFo… in isAcceptableValue() 245 String NumberInputType::sanitizeValue(const String& proposedValue) in sanitizeValue() argument 247 if (proposedValue.isEmpty()) in sanitizeValue() 248 return proposedValue; in sanitizeValue() 249 return parseToDoubleForNumberType(proposedValue, 0) ? proposedValue : emptyAtom.string(); in sanitizeValue()
|
D | RangeInputType.cpp | 274 String RangeInputType::sanitizeValue(const String& proposedValue) in sanitizeValue() argument 279 if (proposedValue.isNull()) in sanitizeValue() 280 return proposedValue; in sanitizeValue() 282 return serializeForNumberType(StepRange(element()).clampValue(proposedValue)); in sanitizeValue()
|
D | TextFieldInputType.cpp | 122 String TextFieldInputType::sanitizeValue(const String& proposedValue) in sanitizeValue() argument 124 return InputElement::sanitizeValueForTextField(element(), proposedValue); in sanitizeValue()
|
D | HTMLTextAreaElement.cpp | 265 String HTMLTextAreaElement::sanitizeUserInputValue(const String& proposedValue, unsigned maxLength) in sanitizeUserInputValue() argument 267 return proposedValue.left(numCharactersInGraphemeClusters(proposedValue, maxLength)); in sanitizeUserInputValue()
|
D | TextFieldInputType.h | 55 virtual String sanitizeValue(const String& proposedValue);
|
D | RangeInputType.h | 70 virtual String sanitizeValue(const String& proposedValue);
|
D | InputType.cpp | 535 String InputType::sanitizeValue(const String& proposedValue) in sanitizeValue() argument 537 return proposedValue; in sanitizeValue()
|
D | HTMLInputElement.cpp | 1201 bool HTMLInputElement::isAcceptableValue(const String& proposedValue) const in isAcceptableValue() 1203 return m_inputType->isAcceptableValue(proposedValue); in isAcceptableValue() 1206 String HTMLInputElement::sanitizeValue(const String& proposedValue) const in sanitizeValue() 1208 return m_inputType->sanitizeValue(proposedValue); in sanitizeValue()
|
/external/webkit/Source/WebCore/dom/ |
D | InputElement.cpp | 138 …laceEOLAndLimitLength(const InputElement* inputElement, const String& proposedValue, int maxLength) in replaceEOLAndLimitLength() argument 141 return proposedValue; in replaceEOLAndLimitLength() 143 String string = proposedValue; in replaceEOLAndLimitLength() 159 …utElement::sanitizeValueForTextField(const InputElement* inputElement, const String& proposedValue) in sanitizeValueForTextField() argument 163 if (!isConformToInputMask(data, proposedValue)) { in sanitizeValueForTextField() 169 return replaceEOLAndLimitLength(inputElement, proposedValue, s_maximumLength); in sanitizeValueForTextField() 172 …anitizeUserInputValue(const InputElement* inputElement, const String& proposedValue, int maxLength) in sanitizeUserInputValue() argument 174 return replaceEOLAndLimitLength(inputElement, proposedValue, maxLength); in sanitizeUserInputValue()
|
/external/webkit/Source/WebCore/wml/ |
D | WMLInputElement.h | 93 …virtual String sanitizeValue(const String& proposedValue) const { return constrainValue(proposedVa… in sanitizeValue() argument
|
D | WMLInputElement.cpp | 332 String WMLInputElement::constrainValue(const String& proposedValue) const in constrainValue() 334 return InputElement::sanitizeUserInputValue(this, proposedValue, m_data.maxLength()); in constrainValue()
|