[webkit-changes] [WebKit/WebKit] 3317fb: [IFC][Integration] Enable intrusive floats coming ...
alan
noreply at github.com
Thu Sep 22 16:53:13 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3317fbd4635cd622d3b7a1e9a9b9f54fc94999da
https://github.com/WebKit/WebKit/commit/3317fbd4635cd622d3b7a1e9a9b9f54fc94999da
Author: Alan Bujtas <zalan at apple.com>
Date: 2022-09-22 (Thu, 22 Sep 2022)
Changed paths:
M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
Log Message:
-----------
[IFC][Integration] Enable intrusive floats coming from rtl inline direction
https://bugs.webkit.org/show_bug.cgi?id=245528
Reviewed by Antti Koivisto.
Let's convert the incoming, intrusive float's directions (left, right, inline-start, inline-end) and coordinates to logical values (e.g. a left float should treated as "right" when the inline direction is rtl).
This enables the following type of content:
<div style="direction: rtl">
<img float-left>
<div>this is rtl inline direction content with intrusive float box</div>
</div>
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForLineLayoutWithReason):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::prepareFloatingState):
Canonical link: https://commits.webkit.org/254770@main
More information about the webkit-changes
mailing list