[Webkit-unassigned] [Bug 255937] New: [WinCairo][Regression after 263118 at main] Small viewport does end up in broken screenshots via Page.snapshotRect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 25 11:11:06 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=255937

            Bug ID: 255937
           Summary: [WinCairo][Regression after 263118 at main] Small
                    viewport does end up in broken screenshots via
                    Page.snapshotRect
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Windows 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: max at schmitt.mx

If a small viewport like 50x50 is used, on Windows it does not get rendered at all on the window (since its outside of the window). Since still a WebView::onSizeEvent event gets emitted with 50x0, we want to ignore it and not use it as an actual window size in the drawing area.

Thats how it was done before the patch.

Downstream bug: https://github.com/microsoft/playwright/issues/22616

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230425/537b26f0/attachment-0001.htm>


More information about the webkit-unassigned mailing list