Changeset 89006 in webkit
- Timestamp:
- Jun 15, 2011 10:12:24 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r89004 r89006 1 2011-06-08 Keishi Hattori <keishi@webkit.org> 2 3 Reviewed by Kent Tamura. 4 5 Fix range element not updating when value attribute is set with JS 6 https://bugs.webkit.org/show_bug.cgi?id=61857 7 8 * fast/forms/range-set-attribute-expected.txt: Added. 9 * fast/forms/range-set-attribute.html: Added. Test to see if setting the value attribute of a 10 range input element updates the value. 11 1 12 2011-06-15 Kent Tamura <tkent@chromium.org> 2 13 -
trunk/Source/WebCore/ChangeLog
r89005 r89006 1 2011-06-08 Keishi Hattori <keishi@webkit.org> 2 3 Reviewed by Kent Tamura. 4 5 Fix range element not updating when value attribute is set with JS 6 https://bugs.webkit.org/show_bug.cgi?id=61857 7 8 Test: fast/forms/range-set-attribute.html 9 10 * html/RangeInputType.cpp: 11 (WebCore::RangeInputType::minOrMaxAttributeChanged): Changed to only sanitize the value when the dirty value flag is true. 12 1 13 2011-06-15 Adam Barth <abarth@webkit.org> 2 14 -
trunk/Source/WebCore/html/RangeInputType.cpp
r89004 r89006 252 252 253 253 // Sanitize the value. 254 element()->setValue(element()->value()); 254 if (element()->hasDirtyValue()) 255 element()->setValue(element()->value()); 255 256 element()->setNeedsStyleRecalc(); 256 257 }
Note: See TracChangeset
for help on using the changeset viewer.