Relayout the slider track when a data list is set
authortony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Nov 2012 18:21:19 +0000 (18:21 +0000)
committertony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Nov 2012 18:21:19 +0000 (18:21 +0000)
commit8b6787c98b1926b6f0c7e3aa312a746bbe6a04df
tree2a19c58617e5b482d5a3626e2515885c6165ad44
parent73e6c0e0d99a7fd4216ce9cbd3a3e90a14bcf770
Relayout the slider track when a data list is set
https://bugs.webkit.org/show_bug.cgi?id=102851

Reviewed by Ojan Vafai.

Previously, we would relayout the <input>.  Once we fix bug 102352, this
causes the slider track to not relayout.  It should relayout because it
draws the data list tick marks and needs to provide space for them.

No new tests, not testable until bug 102352 is fixed. Specifically,
fast/forms/datalist/update-range-with-datalist.html reveals the bug.

* html/RangeInputType.cpp:
(WebCore::RangeInputType::listAttributeTargetChanged):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@135416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/html/RangeInputType.cpp