[webkit-changes] [WebKit/WebKit] b3f021: [view-transitions] Offscreen elements that are vis...

mattwoodrow noreply at github.com
Mon May 6 19:50:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b3f0213101ac9e79466d8100303705d0906d07c7
      https://github.com/WebKit/WebKit/commit/b3f0213101ac9e79466d8100303705d0906d07c7
  Author: Matt Woodrow <mattwoodrow at apple.com>
  Date:   2024-05-06 (Mon, 06 May 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-below-viewport-offscreen-old.html
    M LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-on-top-of-viewport-offscreen-old.html
    M LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-right-of-viewport-offscreen-old.html
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/rendering/RenderBlock.cpp
    M Source/WebCore/rendering/RenderBlock.h
    M Source/WebCore/rendering/RenderLayer.cpp
    M Source/WebCore/rendering/RenderLayerBacking.cpp

  Log Message:
  -----------
  [view-transitions] Offscreen elements that are visible onscreen via their pseudo are not rendered
https://bugs.webkit.org/show_bug.cgi?id=273751
<rdar://127583691>

Reviewed by Tim Nguyen.

Ensure that the snapshot code doesn't skip over offscreen position:fixed layers, since
we frequently want to capture layer regardless of whether they'd be visible for normal
painting.

Don't restrict the compositing bounds to the viewport for layers that are captured
in a view transition.

* LayoutTests/TestExpectations:
* LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-below-viewport-offscreen-old.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-on-top-of-viewport-offscreen-old.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-right-of-viewport-offscreen-old.html:
* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/rendering/RenderBlock.cpp:
(WebCore::RenderBlock::debugDescription const):
* Source/WebCore/rendering/RenderBlock.h:
* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintLayer):
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::shouldClipCompositedBounds const):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list