Bug 1331850 - Swap ClosestSide and FarthestSide in StyleShapeRadius. draft
authorTing-Yu Lin <tlin@mozilla.com>
Wed, 18 Jan 2017 12:01:57 +0800
changeset 462881 2b7bc3f35d4d9e6fb816c91f9011a69dfd37dbbb
parent 462769 80eac484366ad881c6a10bf81e8d9b8f7a676c75
child 542516 0a73c05fa09fea9e91a0960ecd0981520722be83
push id41888
push userbmo:tlin@mozilla.com
push dateWed, 18 Jan 2017 04:14:32 +0000
bugs1331850
milestone53.0a1
Bug 1331850 - Swap ClosestSide and FarthestSide in StyleShapeRadius. Make them match the order in nsCSSProps::kShapeRadiusKTable. MozReview-Commit-ID: FOMelaA5sYv
layout/style/nsStyleConsts.h
--- a/layout/style/nsStyleConsts.h
+++ b/layout/style/nsStyleConsts.h
@@ -150,18 +150,18 @@ enum class StyleShapeOutsideShapeBox : u
   Content,
   Padding,
   Border,
   Margin
 };
 
 // <shape-radius> for <basic-shape>
 enum class StyleShapeRadius : uint8_t {
+  ClosestSide,
   FarthestSide,
-  ClosestSide
 };
 
 // Shape source type
 enum class StyleShapeSourceType : uint8_t {
   None,
   URL,
   Shape,
   Box,