Bug 1331850 - Swap ClosestSide and FarthestSide in StyleShapeRadius. r=heycam
authorTing-Yu Lin <tlin@mozilla.com>
Wed, 18 Jan 2017 12:01:57 +0800
changeset 374875 dfdaba2327c9d05f55ddbeeabfbae5acf1c0d7ee
parent 374874 3ea611dc2979d4b377531d4032b72c8ec49d2062
child 374876 71b2ddbe1f88123ee0b20eb17a133ce5fa8fac9b
child 374883 f7e15e279222cca90f02c18e9c898f57989ae340
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1331850
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1331850 - Swap ClosestSide and FarthestSide in StyleShapeRadius. r=heycam 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,