Searched defs:proposedValue (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DRangeInputType.cpp72 static Decimal ensureMaximum(const Decimal& proposedValue, const Decimal& minimum, const Decimal& fallbackValue) argument
74 return proposedValue >= minimum ? proposedValue : std::max(minimum, fallbackValue);
295 String RangeInputType::sanitizeValue(const String& proposedValue) const
298 const Decimal proposedNumericValue = parseToNumber(proposedValue, stepRange.defaultValue());
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLTextAreaElement.cpp315 String HTMLTextAreaElement::sanitizeUserInputValue(const String& proposedValue, unsigned maxLength) argument
317 if (maxLength > 0 && U16_IS_LEAD(proposedValue[maxLength - 1]))
319 return proposedValue.left(maxLength);

Completed in 165 milliseconds