[webkit-changes] [WebKit/WebKit] c79345: MiniBrowser: Web Inspector is partially obscured b...

Patrick Angle noreply at github.com
Wed Apr 12 14:28:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c7934509b31e58a4b6082f230385a566fa90e234
      https://github.com/WebKit/WebKit/commit/c7934509b31e58a4b6082f230385a566fa90e234
  Author: Patrick Angle <pangle at apple.com>
  Date:   2023-04-12 (Wed, 12 Apr 2023)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/mac/NSViewSPI.h
    M Source/WebKit/UIProcess/mac/WebViewImpl.mm

  Log Message:
  -----------
  MiniBrowser: Web Inspector is partially obscured by web view’s layer hosting view
https://bugs.webkit.org/show_bug.cgi?id=255312
rdar://problem/107911224

Reviewed by Myles C. Maxfield.

When Web Inspector is attached within a WKWebView, the m_layerHostingView of the WebViewImpl overlaps with web inspector
because it is not clipping to bounds. When clipping to bounds we still content under the toolbar in MiniBrowser, and can
now also see the top of Web Inspector again.

* Source/WebCore/PAL/pal/spi/mac/NSViewSPI.h:
* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(WebKit::WebViewImpl::WebViewImpl):

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




More information about the webkit-changes mailing list