Bug 208294

Summary: REGRESSION(r257299): [GTK] Make focus ring of image area consistent with the theme
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: aperez, bugs-noreply, cdumez, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, kondapallykalyan, lmoura, pdr
Priority: P2 Keywords: Gtk, Regression
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Carlos Garcia Campos
Reported 2020-02-27 03:01:50 PST
Since r257299 the focus ring rendered by the theme has a different color and uses rounded corners. This is causing fast/images/image-map-outline-in-positioned-container.html to fail now, see https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r257556%20(12780)/fast/images/image-map-outline-in-positioned-container-diffs.html
Attachments
Patch (3.33 KB, patch)
2020-02-27 03:05 PST, Carlos Garcia Campos
no flags
Carlos Garcia Campos
Comment 1 2020-02-27 03:05:07 PST
Adrian Perez
Comment 2 2020-02-27 05:30:19 PST
Comment on attachment 391846 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=391846&action=review Patch LGTM but there is a typo that is breaking the other ports (see below). That needs to be fixed before landing, hence the cq-. > Source/WebCore/html/HTMLAreaElement.cpp:140 > + return TWF::nullopt; s/TWF/WTF
Carlos Garcia Campos
Comment 3 2020-03-06 01:27:15 PST
I've realized that we were indeed honoring the outline color in css before in GTK. I'm not entirely happy with using rounded corners for image map outline only when using rectangle areas. So, I think we can just mark the test as image only failure for now.
Note You need to log in before you can comment on or make changes to this bug.