Bug 1336905 - Part 2. Remove StyleShapeOutsideShapeBox. r=TYLin

MozReview-Commit-ID: L7vlIGwCOzi

--HG--
extra : rebase_source : 2c2744f3fdc4a2b6936f1135ea2cb62d76cd0399
extra : source : f76fbaee4ce86efbee78c60f0cce96f7c6926807
This commit is contained in:
cku 2017-02-06 15:56:03 +08:00
parent cfc6e5755f
commit 158bc08d53
2 changed files with 4 additions and 13 deletions

View File

@ -2342,10 +2342,10 @@ const KTableEntry nsCSSProps::kMaskTypeKTable[] = {
};
const KTableEntry nsCSSProps::kShapeOutsideShapeBoxKTable[] = {
{ eCSSKeyword_content_box, StyleShapeOutsideShapeBox::Content },
{ eCSSKeyword_padding_box, StyleShapeOutsideShapeBox::Padding },
{ eCSSKeyword_border_box, StyleShapeOutsideShapeBox::Border },
{ eCSSKeyword_margin_box, StyleShapeOutsideShapeBox::Margin },
{ eCSSKeyword_content_box, StyleGeometryBox::Content },
{ eCSSKeyword_padding_box, StyleGeometryBox::Padding },
{ eCSSKeyword_border_box, StyleGeometryBox::Border },
{ eCSSKeyword_margin_box, StyleGeometryBox::Margin },
{ eCSSKeyword_UNKNOWN, -1 }
};

View File

@ -144,15 +144,6 @@ enum class StyleHyphens : uint8_t {
Auto,
};
// shape-box for shape-outside
enum class StyleShapeOutsideShapeBox : uint8_t {
NoBox,
Content,
Padding,
Border,
Margin
};
// <shape-radius> for <basic-shape>
enum class StyleShapeRadius : uint8_t {
ClosestSide,