Bug 305115

Summary: chromestatus.com: Misplaced clear button in search field
Product: WebKit Reporter: alan <zalan>
Component: Layout and RenderingAssignee: alan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: alex, bfulgham, lily_spiniolas, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
[fast-cq]Patch none

alan
Reported 2026-01-08 07:25:27 PST
Attachments
[fast-cq]Patch (10.85 KB, patch)
2026-01-08 07:52 PST, alan
no flags
alan
Comment 1 2026-01-08 07:52:18 PST
Created attachment 477934 [details] [fast-cq]Patch
Lily Spiniolas
Comment 2 2026-01-08 14:10:43 PST
Comment on attachment 477934 [details] [fast-cq]Patch View in context: https://bugs.webkit.org/attachment.cgi?id=477934&action=review > Source/WebCore/html/shadow/DataListButtonElement.h:67 > + auto* htmlElement = dynamicDowncast<WebCore::HTMLElement>(node); We should probably use a RefPtr here
alan
Comment 3 2026-01-08 14:15:14 PST
(In reply to Lily Spiniolas from comment #2) > Comment on attachment 477934 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=477934&action=review > > > Source/WebCore/html/shadow/DataListButtonElement.h:67 > > + auto* htmlElement = dynamicDowncast<WebCore::HTMLElement>(node); > > We should probably use a RefPtr here We indeed should!
alan
Comment 4 2026-01-08 14:16:59 PST
actually "isDataListButtonElement" is trivial so no need to use RefPtr AFAICT.
EWS
Comment 5 2026-01-08 14:20:27 PST
Committed 305314@main (7313736adae0): <https://commits.webkit.org/305314@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 477934 [details].
Alejandro G. Castro
Comment 6 2026-01-09 05:57:49 PST
alan
Comment 7 2026-01-09 07:06:57 PST
This looks to be about the test itself and not the code change (WTR::UIScriptController::isShowingDataListSuggestions() crashes). I don't have a clear understanding of the current status of the GTK UIScriptController implementation, but if it's blocking EWS on GTK, I'd skip the test for now.
Alejandro G. Castro
Comment 8 2026-01-09 07:38:10 PST
Ok, thanks for the feedback!
Note You need to log in before you can comment on or make changes to this bug.