https://www.w3.org/TR/css-ui-4/#valdef-appearance-auto
rdar://83696133
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].