Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dd810a235c609872a3a2b4fca824e6a602a51ef8
      
https://github.com/WebKit/WebKit/commit/dd810a235c609872a3a2b4fca824e6a602a51ef8
  Author: Alan Baradlay <[email protected]>
  Date:   2026-04-20 (Mon, 20 Apr 2026)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/rendering/RenderElement.cpp

  Log Message:
  -----------
  Fieldset with legend is too tall on first layout when it's a flex item
https://bugs.webkit.org/show_bug.cgi?id=312691

Reviewed by Antti Koivisto.

When a fieldset's legend is removed the intrinsic border (on the fieldset) is 
left stale.
On the next layout, layoutBlockChildren sees this state intrinsic border and 
stretches the logical height with it.

* LayoutTests/TestExpectations:
* Source/WebCore/rendering/RenderElement.cpp:
(WebCore::RenderElement::willBeRemovedFromTree):

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



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

Reply via email to