-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IFC][Integration] Enable intrusive floats coming from rtl inline dir…
…ection 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
- Loading branch information
1 parent
03fb5fd
commit 3317fbd
Showing
2 changed files
with
32 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters