| Summary: | Add support for '-webkit-appearance: auto' | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Aditya Keerthi <akeerthi> | ||||||||||||||
| Component: | CSS | Assignee: | Aditya Keerthi <akeerthi> | ||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||
| Severity: | Normal | CC: | cdumez, changseok, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, joepeck, kondapallykalyan, macpherson, menard, mifenton, pdr, simon.fraser, webkit-bug-importer, wenson_hsieh | ||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||
| Version: | Other | ||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| Bug Depends on: | 231383 | ||||||||||||||||
| Bug Blocks: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Aditya Keerthi
2021-10-04 18:06:30 PDT
Created attachment 440134 [details]
Patch
Created attachment 440143 [details]
Patch
Created attachment 440245 [details]
Patch
Created attachment 440522 [details]
Patch
Comment on attachment 440522 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=440522&action=review > Source/WebCore/rendering/RenderTheme.cpp:294 > + auto& element = *elementPtr; Nit - I think current guidelines (https://lists.webkit.org/pipermail/webkit-dev/2020-September/031386.html) recommend storing this as a `Ref` instead of a raw reference. > Source/WebCore/rendering/RenderTheme.cpp:300 > + return PushButtonPart; Just as an aside — we should consider making these strongly typed `enum class` at some point. Created attachment 440680 [details]
Patch for landing
(In reply to Wenson Hsieh from comment #6) > Comment on attachment 440522 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=440522&action=review > > > Source/WebCore/rendering/RenderTheme.cpp:294 > > + auto& element = *elementPtr; > > Nit - I think current guidelines > (https://lists.webkit.org/pipermail/webkit-dev/2020-September/031386.html) > recommend storing this as a `Ref` instead of a raw reference. Done. > > Source/WebCore/rendering/RenderTheme.cpp:300 > > + return PushButtonPart; > > Just as an aside — we should consider making these strongly typed `enum > class` at some point. Filed https://bugs.webkit.org/show_bug.cgi?id=231457 to do this cleanup. Created attachment 440681 [details]
Patch for landing
Committed r283858 (242736@main): <https://commits.webkit.org/242736@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 440681 [details]. |