Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r173843 - ASSERT in RenderMultiColumnSet::requiresBalancing.
https://bugs.webkit.org/show_bug.cgi?id=136376. Reviewed by David Kilzer. Source/WebCore: Added fast/multicol/multicol-selection.html. * rendering/RenderMultiColumnFlowThread.cpp: (WebCore::isValidColumnSpanner): Don't allow an object to become a spanner if it does not have the flow thread as its containing block. Otherwise the flow thread won't get notified of spanner placeholder insertions, and so the spanner ends up orphaned. LayoutTests: * fast/multicol/multicol-selection-expected.txt: Added. * fast/multicol/multicol-selection.html: Added. Canonical link: https://commits.webkit.org/154760.21@webkitgtk/2.6 git-svn-id: https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-2.6@173915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
02c6e6b
commit cea3b10
Showing
5 changed files
with
51 additions
and
0 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
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,19 @@ | ||
<head> | ||
<script> | ||
if (window.testRunner) | ||
testRunner.dumpAsText(); | ||
</script> | ||
</head> | ||
This test passes if it doesn't crash. | ||
<style id="style"> | ||
#elm::before, #elm::after { display:block; -webkit-column-span:all; content:".........."; } | ||
:last-of-type { position: absolute;} | ||
</style> | ||
<div id="div" style="visibility:hidden; -webkit-columns:4; columns:4;"> | ||
<span id="elm"> </span> | ||
</div> | ||
<script> | ||
document.execCommand("SelectAll"); | ||
var elem = document.getElementById("style"); | ||
elem.innerHTML="%a%b3%bf%5c"; | ||
</script> |
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