Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r173845 - Bad cast in isValidColumnSpanner.
https://bugs.webkit.org/show_bug.cgi?id=133380. Reviewed by Simon Fraser. Source/WebCore: Added fast/multicol/multicol-crazy-nesting.html * rendering/RenderMultiColumnFlowThread.cpp: (WebCore::isValidColumnSpanner): The crawl up the chain looking for unsplittable objects should use containing blocks and not be casting to parent boxes. You can have an inline in the parent chain, so this was not the right way to walk up the tree. LayoutTests: * fast/multicol/multicol-crazy-nesting-expected.txt: Added. * fast/multicol/multicol-crazy-nesting.html: Added. Canonical link: https://commits.webkit.org/154760.22@webkitgtk/2.6 git-svn-id: https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-2.6@173916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
cea3b10
commit 0639290
Showing
5 changed files
with
41 additions
and
1 deletion.
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
2 changes: 2 additions & 0 deletions
2
LayoutTests/fast/multicol/multicol-crazy-nesting-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This test passes if it doesn't crash. | ||
|
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,13 @@ | ||
<head> | ||
<script> | ||
if (window.testRunner) | ||
testRunner.dumpAsText(); | ||
</script> | ||
<style> | ||
* { -webkit-columns:3; -webkit-column-span:all } | ||
</style> | ||
</head> | ||
This test passes if it doesn't crash. | ||
<span> | ||
<div style="float:left"> | ||
<div></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
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