RESOLVED FIXED 197878
<input type=color> should have box-sizing: border-box in UA stylesheet
https://bugs.webkit.org/show_bug.cgi?id=197878
Summary <input type=color> should have box-sizing: border-box in UA stylesheet
Simon Pieters (:zcorpan)
Reported 2019-05-14 06:17:13 PDT
Attachments
Patch (17.32 KB, patch)
2022-04-14 05:25 PDT, zsun
no flags
Patch (5.48 KB, patch)
2022-04-25 04:14 PDT, zsun
no flags
[fast-cq] Patch (20.35 KB, patch)
2022-05-04 02:04 PDT, zsun
no flags
zsun
Comment 1 2022-04-14 05:25:11 PDT
Aditya Keerthi
Comment 2 2022-04-14 15:43:48 PDT
Comment on attachment 457614 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=457614&action=review > Source/WebCore/rendering/RenderTheme.cpp:1235 > + return "input[type=\"color\"] { appearance: auto; width: 50px; height: 27px; box-sizing: border-box; outline: none; } "_s; How were the new width/height values determined?
zsun
Comment 3 2022-04-25 04:14:00 PDT
Radar WebKit Bug Importer
Comment 4 2022-04-27 07:47:27 PDT
Tim Nguyen (:ntim)
Comment 5 2022-05-03 09:47:01 PDT
Comment on attachment 458258 [details] Patch Looks like mac-wk1 needs a special baseline. Can you add special test expectations for mac-wk1? Looks like this is just because <input type=color> is disabled with WebKitLegacy: https://webkit-search.igalia.com/webkit/source/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml#425-437
zsun
Comment 6 2022-05-04 02:04:32 PDT
Created attachment 458780 [details] [fast-cq] Patch
Tim Nguyen (:ntim)
Comment 7 2022-05-04 06:09:58 PDT
Comment on attachment 458780 [details] [fast-cq] Patch r=me
EWS
Comment 8 2022-05-05 07:46:18 PDT
Committed r293830 (250303@main): <https://commits.webkit.org/250303@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 458780 [details].
Note You need to log in before you can comment on or make changes to this bug.