Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1431)

Unified Diff: Source/core/rendering/AutoTableLayout.cpp

Issue 192603003: ASSERTION FAILED: type() == Percent in WebCore::Length::percent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@extractedstyle
Patch Set: Trying to fix old chuck mismatch error of the last git cl upload. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/css/calculated-length-as-percent-crash-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/AutoTableLayout.cpp
diff --git a/Source/core/rendering/AutoTableLayout.cpp b/Source/core/rendering/AutoTableLayout.cpp
index eec5a0cd9f63a4fdf8ed79387308db06ee725ad3..86a0944c178a78c5ffef7988598f479050edf107 100644
--- a/Source/core/rendering/AutoTableLayout.cpp
+++ b/Source/core/rendering/AutoTableLayout.cpp
@@ -293,7 +293,7 @@ int AutoTableLayout::calcEffectiveLogicalWidth()
unsigned span = cell->colSpan();
Length cellLogicalWidth = cell->styleOrColLogicalWidth();
- if (cellLogicalWidth.isZero())
+ if (cellLogicalWidth.isZero() || cellLogicalWidth.isCalculated())
Julien - ping for review 2014/06/09 23:23:03 The specification intentionally allows 'auto' in t
cellLogicalWidth = Length(); // make it Auto
unsigned effCol = m_table->colToEffCol(cell->col());
« no previous file with comments | « LayoutTests/fast/css/calculated-length-as-percent-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698