[webkit-changes] [WebKit/WebKit] fde36c: [LFC][IFC][shape-outside] Shape shouldn't extend b...

Antti Koivisto noreply at github.com
Wed Mar 8 09:38:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fde36cd63b58ace4a6e648e8830eb6432196b626
      https://github.com/WebKit/WebKit/commit/fde36cd63b58ace4a6e648e8830eb6432196b626
  Author: Antti Koivisto <antti at apple.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M Source/WebCore/layout/floats/FloatingContext.cpp

  Log Message:
  -----------
  [LFC][IFC][shape-outside] Shape shouldn't extend beyond the margin box
https://bugs.webkit.org/show_bug.cgi?id=253570
rdar://106429457

Reviewed by Alan Baradlay.

* Source/WebCore/layout/floats/FloatingContext.cpp:
(WebCore::Layout::FloatingContext::constraints const):

Clamp the shape to the margin box.
Also provide the height correctly to getExcludedInterval().

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




More information about the webkit-changes mailing list