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

Unified Diff: sky/engine/core/rendering/style/RenderStyle.h

Issue 1075023002: Remove CSS table-layout property. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 | « sky/engine/core/css/parser/BisonCSSParser-in.cpp ('k') | sky/engine/core/rendering/style/RenderStyle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/style/RenderStyle.h
diff --git a/sky/engine/core/rendering/style/RenderStyle.h b/sky/engine/core/rendering/style/RenderStyle.h
index 00a7fd8c25d50260f014afd274346ece4f1d4d79..ce49b86cab70db2262d75eddae8cd54e15e4ee97 100644
--- a/sky/engine/core/rendering/style/RenderStyle.h
+++ b/sky/engine/core/rendering/style/RenderStyle.h
@@ -167,7 +167,6 @@ protected:
&& overflowY == other.overflowY
&& verticalAlign == other.verticalAlign
&& position == other.position
- && tableLayout == other.tableLayout
&& styleType == other.styleType
&& affectedByFocus == other.affectedByFocus
&& affectedByHover == other.affectedByHover
@@ -190,7 +189,6 @@ protected:
unsigned overflowY : 3; // EOverflow
unsigned verticalAlign : 4; // EVerticalAlign
unsigned position : 1; // EPosition
- unsigned tableLayout : 1; // ETableLayout
unsigned unicodeBidi : 3; // EUnicodeBidi
// This is set if we used viewport units when resolving a length.
@@ -236,7 +234,6 @@ protected:
noninherited_flags.overflowY = initialOverflowY();
noninherited_flags.verticalAlign = initialVerticalAlign();
noninherited_flags.position = initialPosition();
- noninherited_flags.tableLayout = initialTableLayout();
noninherited_flags.unicodeBidi = initialUnicodeBidi();
noninherited_flags.explicitInheritance = false;
noninherited_flags.currentColor = false;
@@ -436,9 +433,6 @@ public:
EUnicodeBidi unicodeBidi() const { return static_cast<EUnicodeBidi>(noninherited_flags.unicodeBidi); }
- ETableLayout tableLayout() const { return static_cast<ETableLayout>(noninherited_flags.tableLayout); }
- bool isFixedTableLayout() const { return tableLayout() == TFIXED && !logicalWidth().isAuto(); }
-
const Font& font() const;
const FontMetrics& fontMetrics() const;
const FontDescription& fontDescription() const;
@@ -823,8 +817,6 @@ public:
void setUnicodeBidi(EUnicodeBidi b) { noninherited_flags.unicodeBidi = b; }
- void setTableLayout(ETableLayout v) { noninherited_flags.tableLayout = v; }
-
bool setFontDescription(const FontDescription&);
// Only used for blending font sizes when animating and for text autosizing.
void setFontSize(float);
@@ -1050,7 +1042,6 @@ public:
static EOverflow initialOverflowX() { return OVISIBLE; }
static EOverflow initialOverflowY() { return OVISIBLE; }
static EPosition initialPosition() { return StaticPosition; }
- static ETableLayout initialTableLayout() { return TAUTO; }
static EUnicodeBidi initialUnicodeBidi() { return UBNormal; }
static EVisibility initialVisibility() { return VISIBLE; }
static EWhiteSpace initialWhiteSpace() { return NORMAL; }
« no previous file with comments | « sky/engine/core/css/parser/BisonCSSParser-in.cpp ('k') | sky/engine/core/rendering/style/RenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698