Index: Source/core/rendering/RenderTable.cpp |
=================================================================== |
--- Source/core/rendering/RenderTable.cpp (revision 152061) |
+++ Source/core/rendering/RenderTable.cpp (working copy) |
@@ -311,7 +311,9 @@ |
// We should NEVER shrink the table below the min-content logical width, or else the table can't accomodate |
// its own content which doesn't match CSS nor what authors expect. |
- ASSERT(logicalWidth() >= minPreferredLogicalWidth()); |
+ // FIXME: When we convert to sub-pixel layout for tables we can remove the int conversion |
+ // https://code.google.com/p/chromium/issues/detail?id=241198 |
+ ASSERT(logicalWidth().toInt() >= minPreferredLogicalWidth().toInt()); |
} |
// This method takes a RenderStyle's logical width, min-width, or max-width length and computes its actual value. |