[webkit-changes] [WebKit/WebKit] d44322: Detect a change in border that affects a positione...

Alan Baradlay noreply at github.com
Tue Dec 10 05:11:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d44322ed757b5e7acd0f684073feade0e04f5ac7
      https://github.com/WebKit/WebKit/commit/d44322ed757b5e7acd0f684073feade0e04f5ac7
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/css/css-position/block-axis-constraint-changes-for-out-of-flow-box-expected.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-position/block-axis-constraint-changes-for-out-of-flow-box-ref.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-position/block-axis-constraint-changes-for-out-of-flow-box.html
    M Source/WebCore/rendering/RenderBlock.cpp
    M Source/WebCore/rendering/RenderBlock.h

  Log Message:
  -----------
  Detect a change in border that affects a positioned object's height or position [part2]
https://bugs.webkit.org/show_bug.cgi?id=284296

Reviewed by Antti Koivisto.

Let's trigger 'relayoutChildren = true' on padding box height change when out-of-flow box is present.

* LayoutTests/imported/w3c/web-platform-tests/css/css-position/block-axis-constraint-changes-for-out-of-flow-box-expected.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-position/block-axis-constraint-changes-for-out-of-flow-box-ref.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-position/block-axis-constraint-changes-for-out-of-flow-box.html: Added.
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::updateRenderTreePositions):
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::setStaticPositionsForSimpleOutOfFlowContent):

Canonical link: https://commits.webkit.org/287600@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