haikuwebkit/LayoutTests/fast/forms/color
Aditya Keerthi 9cc0381712 Value of a color input does not update visually when using setAttribute
https://bugs.webkit.org/show_bug.cgi?id=166930
<rdar://problem/29983218>

Reviewed by Simon Fraser.

Source/WebCore:

Test: fast/forms/color/color-input-set-attribute-value.html

* html/ColorInputType.cpp:
(WebCore::ColorInputType::attributeChanged):

Update the color swatch when the value attribute is changed.

* html/ColorInputType.h:

LayoutTests:

* fast/forms/color/color-input-set-attribute-value-expected.html: Added.
* fast/forms/color/color-input-set-attribute-value.html: Added.


Canonical link: https://commits.webkit.org/237939@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-20 13:21:40 +00:00
..
color-input-activate-crash-expected.txt
color-input-activate-crash.html
color-input-set-attribute-value-expected.html Value of a color input does not update visually when using setAttribute 2021-05-20 13:21:40 +00:00
color-input-set-attribute-value.html Value of a color input does not update visually when using setAttribute 2021-05-20 13:21:40 +00:00
color-input-uses-color-well-appearance-expected-mismatch.html
color-input-uses-color-well-appearance.html
color-setrangetext-expected.txt
color-setrangetext.html
color-suggestion-picker-crash-on-set-value-expected.txt
color-suggestion-picker-crash-on-set-value.html
color-type-change-on-input-crash-expected.txt
color-type-change-on-input-crash.html
input-appearance-color.html
input-color-disabled-expected.txt
input-color-disabled.html
input-color-onchange-event-expected.txt
input-color-onchange-event.html
input-color-readonly-expected.txt
input-color-readonly.html
input-value-sanitization-color-expected.txt
input-value-sanitization-color.html