Bug 235944

Summary: [Forms] Alias appearance <compat-auto> keywords to 'auto'
Product: WebKit Reporter: zsun
Component: FormsAssignee: zsun
Status: RESOLVED FIXED    
Severity: Normal CC: akeerthi, cdumez, changseok, esprehn+autocc, ews-watchlist, glenn, kondapallykalyan, ntim, pdr, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Comment 1 zsun 2022-02-02 04:11:09 PST
Created attachment 450632 [details]
Patch
Comment 2 zsun 2022-02-02 12:06:47 PST
Created attachment 450687 [details]
Patch
Comment 3 zsun 2022-02-03 01:11:47 PST
Created attachment 450744 [details]
Patch
Comment 4 Aditya Keerthi 2022-02-03 14:15:42 PST
Comment on attachment 450744 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=450744&action=review

> Source/WebCore/rendering/RenderTheme.cpp:90
> +    if (!element)

Nit: The early return here can be moved before the declaration/assignment of `part`.

> Source/WebCore/rendering/RenderTheme.h:469
> +    ControlPart adjustAppearanceWithElementType(RenderStyle&, const Element*) const;

Consider renaming this to `adjustAppearanceForElement`, since it doesn't take an "element type".
Comment 5 zsun 2022-02-04 01:19:40 PST
Created attachment 450880 [details]
Patch
Comment 6 EWS 2022-02-07 01:23:41 PST
Committed r289201 (246887@main): <https://commits.webkit.org/246887@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 450880 [details].
Comment 7 Radar WebKit Bug Importer 2022-02-07 01:24:19 PST
<rdar://problem/88561704>