| Summary: | [GTK][WPE] Support CSS accent-color | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alice Mikhaylenko <alicem> | ||||||||||||||
| Component: | WebKitGTK | Assignee: | Alice Mikhaylenko <alicem> | ||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||
| Severity: | Normal | CC: | bugs-noreply, cgarcia, changseok, esprehn+autocc, ews-watchlist, glenn, kondapallykalyan, mcatanzaro, pdr | ||||||||||||||
| Priority: | P2 | ||||||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=246667 | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Alice Mikhaylenko
2022-03-25 16:27:57 PDT
Created attachment 455809 [details]
Patch
> # accent-color is currently only supported on Cocoa platforms
Oops, forgot to change this line. But I wonder if those tests actually pass...
Created attachment 455840 [details]
Patch
Created attachment 455843 [details]
Patch
Comment on attachment 455843 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=455843&action=review > Source/WebCore/platform/adwaita/ThemeAdwaita.cpp:266 > + if (states.states().contains(ControlStates::States::Hovered) > + && states.states().contains(ControlStates::States::Enabled)) Use a single line here > Source/WebCore/platform/adwaita/ThemeAdwaita.cpp:298 > + if (states.states().contains(ControlStates::States::Hovered) > + && states.states().contains(ControlStates::States::Enabled)) Ditto. > Source/WebCore/platform/adwaita/ThemeAdwaita.cpp:350 > + if (states.states().contains(ControlStates::States::Hovered) > + && states.states().contains(ControlStates::States::Enabled)) Ditto. > Source/WebCore/platform/adwaita/ThemeAdwaita.cpp:367 > + if (states.states().contains(ControlStates::States::Hovered) > + && states.states().contains(ControlStates::States::Enabled)) Ditto. Created attachment 455848 [details]
Patch
r=me, but you'll have to write my name in the changelog manually. I can't use the r+ dropdown due to bug #238323. (In reply to Michael Catanzaro from comment #7) > r=me, but you'll have to write my name in the changelog manually. I can't > use the r+ dropdown due to bug #238323. I missed that you already got r+ from Carlos. Once you have r+, you don't have to request review again: you can either manually write in his name, or else download the patch using 'webkit-patch apply-from-bug' which will do so for you. Created attachment 455852 [details]
Patch
Err, I've manually written in the name and it still has r?. Let's try this again. Created attachment 455853 [details]
Patch
(In reply to Alexander Mikhaylenko from comment #10) > Err, I've manually written in the name and it still has r?. Let's try this > again. 'webkit-patch upload --no-review' works, or you could always just unset the flag yourself. Committed r291950 (248917@main): <https://commits.webkit.org/248917@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 455853 [details]. |