Changeset 64805 in webkit
- Timestamp:
- Aug 5, 2010 5:46:10 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r64799 r64805 1 2010-08-05 Erik Arvidsson <arv@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 Calling setCustomValidity should trigger a layout 6 https://bugs.webkit.org/show_bug.cgi?id=43582 7 8 * fast/forms/setCustomValidity-expected.txt: Added. 9 * fast/forms/setCustomValidity.html: Added. 10 1 11 2010-08-05 Adam Barth <abarth@webkit.org> 2 12 -
trunk/WebCore/ChangeLog
r64803 r64805 1 2010-08-05 Erik Arvidsson <arv@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 Calling setCustomValidity should trigger a layout 6 https://bugs.webkit.org/show_bug.cgi?id=43582 7 8 Test: fast/forms/setCustomValidity.html 9 10 * html/ValidityState.cpp: 11 (WebCore::ValidityState::setCustomErrorMessage): Call setNeedsValidityCheck to tell the system that the validity might have changed. 12 * html/ValidityState.h: 13 1 14 2010-08-05 Sam Weinig <sam@webkit.org> 2 15 -
trunk/WebCore/html/ValidityState.cpp
r61677 r64805 65 65 66 66 return String(); 67 } 68 69 void ValidityState::setCustomErrorMessage(const String& message) 70 { 71 m_customErrorMessage = message; 72 m_control->setNeedsValidityCheck(); 67 73 } 68 74 -
trunk/WebCore/html/ValidityState.h
r53364 r64805 42 42 String validationMessage() const; 43 43 44 void setCustomErrorMessage(const String& message) { m_customErrorMessage = message; }44 void setCustomErrorMessage(const String&); 45 45 46 46 bool valueMissing() const { return m_control->valueMissing(); }
Note: See TracChangeset
for help on using the changeset viewer.