Closed
Bug 977038
Opened 11 years ago
Closed 11 years ago
When the value of an <input type="color"> is changed by resetting the form, it is not visually updated
Categories
(Core :: Layout: Form Controls, defect, P4)
Tracking
()
RESOLVED
DUPLICATE
of bug 977029
People
(Reporter: claude.pache, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
965 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20140224220227
Steps to reproduce:
1. open the testcase attached
2. click the button "Set value to #00ff00 (green) and defaultValue to #0000ff (blue)"; this will change the color of the <input> to green.
3. click the reset button
Actual results:
* The color of the <input> remains green.
* However, inspection of the element reveals the `value` property of the <input> is correctly '#0000ff' (blue).
Expected results:
* The color of the <input> should be updated to blue.
![]() |
||
Comment 1•11 years ago
|
||
Chances are, properly fixing bug 977029 will fix this bug too.
Comment 2•11 years ago
|
||
Even if the visible effect isn't this bug has the same root cause as bug 977029.
A test case for this bug is included in bug 977029's patch (namely layout/reftests/forms/input/color/block-invalidate-2)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•