[webkit-changes] [WebKit/WebKit] 5e3338: [Content-visibility] RenderTreeNeedsLayoutChecker ...

Rob Buis noreply at github.com
Thu Jan 25 08:43:59 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e333884a680041a2415e7b64ba6c63e3f48522c
      https://github.com/WebKit/WebKit/commit/5e333884a680041a2415e7b64ba6c63e3f48522c
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/crashtests/scroll-skipped-content-fixed-container.html
    M Source/WebCore/rendering/RenderBlock.cpp

  Log Message:
  -----------
  [Content-visibility] RenderTreeNeedsLayoutChecker asserts on fixed positioned box inside skipped subtree
https://bugs.webkit.org/show_bug.cgi?id=264169
rdar://117914028

Reviewed by Alan Baradlay.

Avoid simplified layout when laying out a content-visibility root with positioned children since
there is no guarentee the positioned children have been processed in a previous layout due to
lazy layout of skipped content.

* LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/crashtests/scroll-skipped-content-fixed-container.html: Added.
* Source/WebCore/rendering/RenderBlock.cpp:
(WebCore::RenderBlock::simplifiedLayout):

Originally-landed-as: 270734.5 at webkit-embargoed (bd192edd0348). rdar://121480818
Canonical link: https://commits.webkit.org/273504@main




More information about the webkit-changes mailing list