Skip to content

Commit

Permalink
Merge r174126 - Remove a multicolumn ASSERT and replace with a guard.
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=137272

Reviewed by Alexey Proskuryakov.

* rendering/RenderMultiColumnFlowThread.cpp:
(WebCore::isValidColumnSpanner):
For now remove the assert that is tripping and replace it with a guard
until we can figure out why it's getting hit.

Canonical link: https://commits.webkit.org/154760.62@webkitgtk/2.6
git-svn-id: https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-2.6@174450 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
David Hyatt authored and carlosgcampos committed Oct 8, 2014
1 parent 864f0f4 commit 6b4141e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
12 changes: 12 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,15 @@
2014-09-30 David Hyatt <hyatt@apple.com>

Remove a multicolumn ASSERT and replace with a guard.
https://bugs.webkit.org/show_bug.cgi?id=137272

Reviewed by Alexey Proskuryakov.

* rendering/RenderMultiColumnFlowThread.cpp:
(WebCore::isValidColumnSpanner):
For now remove the assert that is tripping and replace it with a guard
until we can figure out why it's getting hit.

2014-08-01 Sergio Villar Senin <svillar@igalia.com>

Caret not shown at the end of line in overtype mode
Expand Down
8 changes: 6 additions & 2 deletions Source/WebCore/rendering/RenderMultiColumnFlowThread.cpp
Expand Up @@ -245,8 +245,12 @@ RenderObject* RenderMultiColumnFlowThread::resolveMovedChild(RenderObject* child
static bool isValidColumnSpanner(RenderMultiColumnFlowThread* flowThread, RenderObject* descendant)
{
// We assume that we're inside the flow thread. This function is not to be called otherwise.
ASSERT(descendant->isDescendantOf(flowThread));

// ASSERT(descendant->isDescendantOf(flowThread));
// FIXME: Put this back in when we figure out why spanner-crash.html is triggering it.
// See https://bugs.webkit.org/show_bug.cgi?id=137273
if (!descendant->isDescendantOf(flowThread))
return false;

// First make sure that the renderer itself has the right properties for becoming a spanner.
RenderStyle& style = descendant->style();
if (style.columnSpan() != ColumnSpanAll || !descendant->isBox() || descendant->isFloatingOrOutOfFlowPositioned())
Expand Down

0 comments on commit 6b4141e

Please sign in to comment.