Changeset 87168 in webkit
- Timestamp:
- May 24, 2011 10:43:55 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r87165 r87168 1 2011-05-24 Tony Chang <tony@chromium.org> 2 3 Reviewed by James Robinson. 4 5 fix render overflow computation for input type=range 6 https://bugs.webkit.org/show_bug.cgi?id=61132 7 8 * fast/forms/slider-hit-testing-expected.txt: Added. 9 * fast/forms/slider-hit-testing.html: Added. 10 1 11 2011-05-24 Kenneth Russell <kbr@google.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r87167 r87168 1 2011-05-24 Tony Chang <tony@chromium.org> 2 3 Reviewed by James Robinson. 4 5 fix render overflow computation for input type=range 6 https://bugs.webkit.org/show_bug.cgi?id=61132 7 8 Test: fast/forms/slider-hit-testing.html 9 10 We need to clear m_overflow otherwise we use the first 11 size of the slider for hit testing (i.e., changes to the size 12 cause problems). This only shows up if the thumb isn't contained 13 in the bounds of the slider. Making the range have a smaller height 14 than the thumb shows the bug. 15 16 * rendering/RenderSlider.cpp: 17 (WebCore::RenderSlider::layout): Clear the overflow during layout 18 so we re-compute the overflow based on the current size of the 19 slider. 20 1 21 2011-05-24 Alok Priyadarshi <alokp@chromium.org> 2 22 -
trunk/Source/WebCore/rendering/RenderSlider.cpp
r84394 r87168 154 154 updateLayerTransform(); 155 155 156 m_overflow.clear(); 157 156 158 if (thumb) { 157 159 if (oldSize != size())
Note: See TracChangeset
for help on using the changeset viewer.