Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3de390d56c49b00517f42fa6c77b221166f0f12f
      
https://github.com/WebKit/WebKit/commit/3de390d56c49b00517f42fa6c77b221166f0f12f
  Author: Alan Baradlay <[email protected]>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M Source/WebCore/rendering/FloatingObjects.cpp

  Log Message:
  -----------
  [Legacy line layout] Zero height float boxes do not shrink/indent line boxes
https://bugs.webkit.org/show_bug.cgi?id=250753

Reviewed by Antti Koivisto.

This patch aligns legacy line layout behavior with IFC.

"
...
Note: this means that floats with zero outer height or negative outer height do 
not shorten line boxes.
...
"

https://www.w3.org/TR/CSS2/visuren.html#floats

* Source/WebCore/rendering/FloatingObjects.cpp:
(WebCore::FindNextFloatLogicalBottomAdapter::collectIfNeeded):
(WebCore::ComputeFloatOffsetAdapter<FloatTypeValue>::collectIfNeeded):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to