Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
text-align-last causes table to take full space
https://bugs.webkit.org/show_bug.cgi?id=245453 <rdar://problem/100199451> Reviewed by Antti Koivisto. Do not expand runs horizontally (justify align) when computing the preferred with of the block container. It produces inflated content size. * LayoutTests/fast/block/intrinsic-size-with-text-align-last-justify-expected.html: Added. * LayoutTests/fast/block/intrinsic-size-with-text-align-last-justify.html: Added. * Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp: (WebCore::Layout::LineBuilder::close): Canonical link: https://commits.webkit.org/254725@main
- Loading branch information
1 parent
70f24d8
commit 04db6217eae000daca6e23f8df128c1ef105d5c1
Showing
3 changed files
with
20 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<style> | ||
div { | ||
font-family: Ahem; | ||
font-size: 20px; | ||
border: solid red; | ||
float: left; | ||
} | ||
</style> | ||
<div>do not stretch</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<style> | ||
div { | ||
font-family: Ahem; | ||
font-size: 20px; | ||
border: solid red; | ||
text-align-last:justify; | ||
float: left; | ||
} | ||
</style> | ||
<div>do not stretch</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