Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REGRESSION (iOS 16): Height of inline-block element in vertical-rl la…
…yout expands the root element width. https://bugs.webkit.org/show_bug.cgi?id=245173 Reviewed by Antti Koivisto. Do not mix logical and physical coordinates (at this point in the display content builder we mostly operate on physical values and scrollableOverflowRect is no exception). * LayoutTests/fast/block/scroll-overflow-in-vertical-writing-mode-expected.html: Added. * LayoutTests/fast/block/scroll-overflow-in-vertical-writing-mode.html: Added. * Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp: (WebCore::LayoutIntegration::InlineContentBuilder::createDisplayLines const): Canonical link: https://commits.webkit.org/254569@main
- Loading branch information
1 parent
32854d2
commit ec6b533
Showing
13 changed files
with
48 additions
and
27 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
LayoutTests/fast/block/scroll-overflow-in-vertical-writing-mode-expected.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<html style="writing-mode: vertical-rl;"> | ||
<style> | ||
div { | ||
height: 3000px; | ||
background: green; | ||
font-size: 20px; | ||
font-family: Monospace; | ||
} | ||
</style> | ||
<div>PASS if no horizontal scrollbar</div> |
11 changes: 11 additions & 0 deletions
11
LayoutTests/fast/block/scroll-overflow-in-vertical-writing-mode.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<html style="writing-mode: vertical-rl;"> | ||
<style> | ||
div { | ||
display: inline-block; | ||
height: 3000px; | ||
background: green; | ||
font-size: 20px; | ||
font-family: Monospace; | ||
} | ||
</style> | ||
<div>PASS if no horizontal scrollbar</div> |
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
2 changes: 1 addition & 1 deletion
2
LayoutTests/platform/ios/fast/writing-mode/border-styles-vertical-lr-expected.txt
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
2 changes: 1 addition & 1 deletion
2
LayoutTests/platform/ios/fast/writing-mode/border-styles-vertical-lr-mixed-expected.txt
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
2 changes: 1 addition & 1 deletion
2
LayoutTests/platform/ios/fast/writing-mode/border-styles-vertical-rl-expected.txt
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
2 changes: 1 addition & 1 deletion
2
LayoutTests/platform/ios/fast/writing-mode/border-styles-vertical-rl-mixed-expected.txt
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
10 changes: 5 additions & 5 deletions
10
LayoutTests/platform/mac/fast/writing-mode/border-styles-vertical-lr-expected.txt
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
10 changes: 5 additions & 5 deletions
10
LayoutTests/platform/mac/fast/writing-mode/border-styles-vertical-lr-mixed-expected.txt
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
10 changes: 5 additions & 5 deletions
10
LayoutTests/platform/mac/fast/writing-mode/border-styles-vertical-rl-expected.txt
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
10 changes: 5 additions & 5 deletions
10
LayoutTests/platform/mac/fast/writing-mode/border-styles-vertical-rl-mixed-expected.txt
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