Summary: | [GTK][WPE] Support drawing scrollbar corner | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alice Mikhaylenko <alicem> | ||||||||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | aperez, bugs-noreply, changseok, esprehn+autocc, ews-watchlist, fred.wang, glenn, kondapallykalyan, mcatanzaro, pdr, simon.fraser | ||||||||||
Priority: | P2 | ||||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Attachments: |
|
Description
Alice Mikhaylenko
2021-07-12 03:13:57 PDT
Created attachment 433308 [details]
Patch
Created attachment 433309 [details]
Patch
Missed a use outside WebCore.
Comment on attachment 433309 [details]
Patch
Patch LGTM, we may want to have someone from Apple confirm that the
additional parameter passed around is okay for them :)
Ah, and please add the [WPE] in the ChangeLog summary line; the port uses the same code to paint scrollbars nowadays. Yeah, I noticed the macOS scroll corners were slightly broken with scrollbars on the left since there's no way to check that without the new parameter. :) I have no idea how to request RTL flip there though (it uses native scrollbars) so didn't update it. Created attachment 433310 [details]
Patch
Added [WPE].
Created attachment 433311 [details]
Patch
And of course I forgot the second changelog in WebKit/. Updated too.
Comment on attachment 433311 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=433311&action=review > Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm:1956 > - ScrollbarTheme::theme().paintScrollCorner(graphicsContext, scrollCornerRect); > + ScrollbarTheme::theme().paintScrollCorner(*this, graphicsContext, scrollCornerRect); *Technically* this line of the changeset requires owner approval, but it's such a small unproblematic change, only intended to keep this code building, that I think we can skip the formality in this case. Ah yeah, flaky tests again. Committed r279826 (239587@main): <https://commits.webkit.org/239587@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433311 [details]. |