Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f6f9d60bae5c9a19941d4b09e0dc6654982083f2
      
https://github.com/WebKit/WebKit/commit/f6f9d60bae5c9a19941d4b09e0dc6654982083f2
  Author: Devin Rousso <[email protected]>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M LayoutTests/inspector/console/console-screenshot-expected.txt
    M LayoutTests/inspector/console/console-screenshot.html
    M Source/WebCore/page/PageConsoleClient.cpp

  Log Message:
  -----------
  Web Inspector: support `DOMRect` in `console.screenshot`
https://bugs.webkit.org/show_bug.cgi?id=284423

Reviewed by Tim Nguyen.

This will allow developers to customize what part of the page is captured 
instead of more coarse options like a `Node` or the entire `document`.

* Source/WebCore/page/PageConsoleClient.cpp:
(WebCore::PageConsoleClient::screenshot):

* LayoutTests/inspector/console/console-screenshot.html:
* LayoutTests/inspector/console/console-screenshot-expected.txt:

Canonical link: https://commits.webkit.org/288544@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to