With an <input type="color">, if you set the value dynamically via setAttribute('value', '#ff0000') it still shows the input color visually as black rather than the updated value (red, in this case). The actual value of the input is correct, and if you open the color picker then it shows the correct value selected. Here's an example JSFiddle which starts out black and sets the value via setAttribute after 1.5 seconds: https://jsfiddle.net/1wLsa0jc/
<rdar://problem/29983218>
Created attachment 429108 [details] Patch
Thanks for the review!
Committed r277778 (237939@main): <https://commits.webkit.org/237939@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 429108 [details].