Index: Source/core/rendering/style/RenderStyle.h |
diff --git a/Source/core/rendering/style/RenderStyle.h b/Source/core/rendering/style/RenderStyle.h |
index eb5496ea25990b2a81140b143f74c47db208e030..7dc8850308d703c713fafe11a1c3194bc274e141 100644 |
--- a/Source/core/rendering/style/RenderStyle.h |
+++ b/Source/core/rendering/style/RenderStyle.h |
@@ -563,6 +563,7 @@ public: |
EClear clear() const { return static_cast<EClear>(noninherited_flags._clear); } |
ETableLayout tableLayout() const { return static_cast<ETableLayout>(noninherited_flags._table_layout); } |
+ bool isTableLayoutFixed() const { return static_cast<ETableLayout>(noninherited_flags._table_layout) == TFIXED && !logicalWidth().isAuto(); } |
mstensho (USE GERRIT)
2014/05/06 19:29:07
Nit: Could call tableLayout() instead.
Julien - ping for review
2014/05/07 00:35:29
Also in English, you would say "is it a fixed tabl
|
const Font& font() const; |
const FontMetrics& fontMetrics() const; |