Setting the min and max values on an <input type=range> element such that the difference between them is even, no default value is set for the input element.
* STEPS TO REPRODUCE
1. Launch Safari/WebKit.
2. Open attached test case.
* EXPECTED RESULTS
An alert dialog with "PASS: '50'" should be displayed and "50" should be displayed in the read-only text field.
* ACTUAL RESULTS
An alert dialog with "FAIL: ''" is displayed and no value is displayed in the read-only text field.
Unknown. Only tested WebKit nightly build r35249.
Created attachment 22433 [details]
This is a regression from Safari 2.0.4 (which behaved correctly). Unfortunately, the earliest nightly build (r11976) also shows the bug, so a bisect of nightly builds can't be done.
Created attachment 24047 [details]
I think this patch should fix the problem.
Comment on attachment 24047 [details]
Landed in r37247.