Граф коммитов

218 Коммитов

Автор SHA1 Сообщение Дата
Manish Goregaokar aa9a1e8f52 Bug 1399228 - stylo: Add font keyword info fields on nsStyleFont; r=emilio
MozReview-Commit-ID: ERCnLLiAsFg
2017-09-23 12:55:34 -07:00
ruby a409fb3f6f Bug 1386326 - Removed unwanted constants from nsStyleconsts.h r=manishearth
MozReview-Commit-ID: 5uRqHqc1PfP

--HG--
extra : rebase_source : c97e35aa6605687fb37468cc58b22e179035b154
2017-08-24 12:44:54 +05:30
Xidorn Quan d189e163c1 Bug 1393189 part 1 - Statically initialize builtin style table with their name atom included. r=dholbert
Doing this at compile time would save a bit of our startup time, which
I've promised to do since @counter-style was initially implemented, see
bug 966166 comment 103 (the paragraph with "constexpr").

Also, having this implemented here makes using atom instead of string
on name of builtin counter styles easier, for later patches.

MozReview-Commit-ID: C9HYcuShBQv

--HG--
extra : rebase_source : 273eb3d23ee770722d27b26aafaa291d7375b8ee
2017-08-29 14:44:14 +10:00
Xidorn Quan 96c445bf1a Bug 1393189 part 0 - Reorder NS_STYLE_LIST_STYLE_* consts to match the order in nsCSSProps::kListStyleKTable. r=dholbert
MozReview-Commit-ID: 3RNqDbOjXyX

--HG--
extra : rebase_source : cda26fafbdc91328e2661025d60ea3c71952fcc1
2017-08-30 08:44:53 +10:00
hardik tyagi ae769ad84a Bug 1389862: Change NS_STYLE_CONTENT macro definitions to scoped enum class StyleContent; r=manishearth
MozReview-Commit-ID: 4ojiXrCNRIN
2017-08-14 23:56:24 -07:00
Jeff Hajewski 21dd3e708d Bug 1371354: Changes macro defined NS_SYTLE_IMAGELAYER_ to enum class StyleImageLayer; r=manishearth
MozReview-Commit-ID: DgvenevRHg2
2017-06-09 16:53:34 -07:00
Carsten "Tomcat" Book efccdfdb0a merge mozilla-inbound to mozilla-central a=merge 2017-06-02 14:22:17 +02:00
Jeff Hajewski 12f7c1e837 Bug 1369448 - Change NS_STYLE_WHITESPACE macro definitions to enum class; r=manishearth
MozReview-Commit-ID: HUXYWXk8eiI
2017-06-01 15:37:22 -07:00
Jonathan Watt 2642ec495c Bug 1365926, part 1 - Support 'context-fill-opacity'/'context-stroke-opacity' as SVG-as-an-image context properties. r=heycam
MozReview-Commit-ID: 2YHjwCB02jV
2017-05-18 12:47:20 +01:00
Manish Goregaokar 616a37d6b7 Bug 1367275 - Part 2: stylo: Support -moz-window-shadow; r=xidorn
MozReview-Commit-ID: LiYlfmaCfHH
2017-05-27 13:21:44 -07:00
Neil Deakin f36da07def Bug 1364115 - Allow -moz-stack-sizing to work in a single direction only. r=dbaron,manishearth
MozReview-Commit-ID: Kl7YQpfolTC

--HG--
rename : layout/reftests/bugs/346189-1-ref.xul => layout/reftests/xul/stack-sizing-1-ref.xul
rename : layout/reftests/bugs/346189-1.xul => layout/reftests/xul/stack-sizing-1.xul
extra : rebase_source : e536212980c832c04423871e0fa9dfc09f8a5994
extra : source : a65814deeb7a7f64189d3a9388ac295c6f5b4958
2017-05-15 12:33:46 +01:00
Jonathan Watt e0f3ff607a Bug 1350010, part 1 - Implement the '-moz-context-properties' property. r=heycam
MozReview-Commit-ID: CyVQe0UfKdy
2017-04-11 21:38:10 +01:00
Xidorn Quan d8c29760a1 Bug 1355734 - Remove text-decoration-line: -moz-anchor-decoration. r=heycam,masayuki
MozReview-Commit-ID: 4TmVncV1K5G

--HG--
extra : rebase_source : 568218d415642f1088c82d4b2e03d5885067b162
2017-04-13 16:17:03 +08:00
cku c486e7014c Bug 1340044 - Part 2. Rename value in StyleGeometryBox. r=heycam
This change is to use gecko_enum_prefix in helpers.mako.rs, so that we do not
need to manually write code for nsStyleDisplay::mTransformBox.

MozReview-Commit-ID: 7UAL0iUcSIO

--HG--
extra : rebase_source : e99b7c163991df7ef3e7c0404fcef1832718a150
2017-03-16 15:18:10 +08:00
cku 85448394ac Bug 1340044 - Part 1. Declare mTransformBox as StyleGeometryBox. r=heycam
MozReview-Commit-ID: 9fcHkDtNHhL

--HG--
extra : rebase_source : 61cdec71eea4f80e2e1e702bf6a03132287545a3
2017-03-15 12:21:07 +08:00
Neerja Pancholi f62798efe1 Bug 1339298 - Add boilerplate code for CSS3 multicol column-span parsing and define pref 'layout.css.column-span.enabled' to toggle it. r=dholbert
MozReview-Commit-ID: 6aSlRhcKm8i

--HG--
extra : rebase_source : 5028c7fb8ea5e4de42e658729b71d7e7af46a43d
2017-02-13 16:57:33 -08:00
jeremychen@mozilla.com 8638420acc Bug 276079 - parse and compute CSS text-justify property. r=xidorn
MozReview-Commit-ID: K3bh0H2SPnE

--HG--
extra : rebase_source : c483f3f1cb7eb024b1851ad1df6b6562630a2fc5
2017-03-01 20:58:25 +08:00
cku 158bc08d53 Bug 1336905 - Part 2. Remove StyleShapeOutsideShapeBox. r=TYLin
MozReview-Commit-ID: L7vlIGwCOzi

--HG--
extra : rebase_source : 2c2744f3fdc4a2b6936f1135ea2cb62d76cd0399
extra : source : f76fbaee4ce86efbee78c60f0cce96f7c6926807
2017-02-06 15:56:03 +08:00
cku cfc6e5755f Bug 1336905 - Part 1. Remove StyleShapeSource's template argument. r=heycam,TYLin
MozReview-Commit-ID: FHTwGyXHsce

--HG--
extra : rebase_source : c043e4790bc2c84e4f3735a95c8ef0d9aa268986
extra : source : fb3c04effbd191767b1ff3e46c3c2d416ac8ee37
2017-02-21 23:26:17 +08:00
Ravi Shankar 9f7341a8f1 Bug 1339765 - Replace NS_STYLE_GRID_TRACK_BREADTH_* with enum classes;r=heycam
MozReview-Commit-ID: BAMrykPhoIl

--HG--
extra : rebase_source : 025144924eb6270837d74adab5e72265b6d2f62a
2017-02-17 09:28:36 +05:30
Iris Hsiao 57e2751fbd Backed out 4 changesets (bug 1335876) for stylo tc build bustage
Backed out changeset b870f9671bcd (bug 1335876)
Backed out changeset 3e160602fc1a (bug 1335876)
Backed out changeset 9d290cbe5aad (bug 1335876)
Backed out changeset 6e447c3fcd79 (bug 1335876)
2017-02-15 10:20:11 +08:00
cku b931dde44d Bug 1335876 - Part 1. Declare mTransformBox as StyleGeometryBox. r=heycam
MozReview-Commit-ID: 9fcHkDtNHhL

--HG--
extra : rebase_source : 8c5f80c261f178db970bb9bf0615d394da2560f5
2017-02-02 13:57:49 +08:00
Carsten "Tomcat" Book d49b3f08d6 Backed out changeset fb3c04effbd1 (bug 1336905) for bustage in stylo builds 2017-02-14 11:07:17 +01:00
Carsten "Tomcat" Book ac81a7aaea Backed out changeset f76fbaee4ce8 (bug 1336905) 2017-02-14 11:06:56 +01:00
cku 9bdbe1a759 Bug 1336905 - Part 2. Remove StyleShapeOutsideShapeBox. r=TYLin
MozReview-Commit-ID: L7vlIGwCOzi

--HG--
extra : rebase_source : ecd727fc92a2c2dc6ca5555326ababfa6ba330b5
2017-02-06 15:56:03 +08:00
cku 80f22f74f4 Bug 1336905 - Part 1. Remove StyleShapeSource's template argument. r=heycam,TYLin
MozReview-Commit-ID: FHTwGyXHsce

--HG--
extra : rebase_source : e1346a2ec89d023b2aa0c2cd5ced94529b7f9067
2017-02-06 15:50:22 +08:00
Ting-Yu Lin 6240680e1f Bug 1331850 - Swap ClosestSide and FarthestSide in StyleShapeRadius. r=heycam
Make them match the order in nsCSSProps::kShapeRadiusKTable.

MozReview-Commit-ID: FOMelaA5sYv

--HG--
extra : rebase_source : b72b58c2f8388577389b73756d6e58d92c6f0c91
2017-01-18 12:01:57 +08:00
Xidorn Quan a8e64a94e1 Bug 1298756 - Use uint8_t/uint16_t as underlying type for enums from webidl. r=bz
MozReview-Commit-ID: 3uS9s5ZrPFd

--HG--
extra : rebase_source : ff64b4468ee99ba08fd8638298a27711b7fb6393
2017-01-12 12:23:37 +11:00
Ting-Yu Lin 53633b1c42 Bug 1320014 Part 14 - Convert NS_SIDE_TO_HALF_CORNER to a constexpr function. r=mats
MozReview-Commit-ID: 4MQu8omCdcg

--HG--
extra : rebase_source : 0bce3eb380c2bacd5a4576e1a57c96afb8b57160
2017-01-05 16:23:16 +08:00
Ting-Yu Lin 9a76c43bf0 Bug 1320014 Part 13 - Convert NS_SIDE_TO_FULL_CORNER to a constexpr function. r=mats
MozReview-Commit-ID: 4r4jEN2LklH

--HG--
extra : rebase_source : 8a60bbb322f586af1a859b9408b10685169913e7
2017-01-05 16:13:34 +08:00
Ting-Yu Lin 78cc3f541d Bug 1320014 Part 12 - Convert NS_SIDE_IS_VERTICAL to a constexpr function. r=mats
MozReview-Commit-ID: GFdigJKppuR

--HG--
extra : rebase_source : d3a66d22d99d2988d5c3c44bc1da51e30efa8d1a
2017-01-05 16:07:02 +08:00
Ting-Yu Lin 160ed71c4e Bug 1320014 Part 11 - Convert NS_FULL_TO_HALF_CORNER to a constexpr function. r=mats
Because the new function checks types, we need to change the fullCorner type
in nsComputedDOMStyle::GetEllipseRadii() and
StyleAnimationValue::ExtractComputedValue() from uint8_t to |Corner| to fix
build error.

MozReview-Commit-ID: 5NuFE3yA2QD

--HG--
extra : rebase_source : 8f94209b24bd909839358cd502f462edb9ce3116
2017-01-05 14:59:17 +08:00
Ting-Yu Lin cf828e1584 Bug 1320014 Part 10 - Convert NS_HALF_TO_FULL_CORNER to a constexpr function. r=mats
MozReview-Commit-ID: 1PECc7hm249

--HG--
extra : rebase_source : 7784720bb9ae061689cba0b30c0aebc779d818b1
2017-01-05 14:39:58 +08:00
Ting-Yu Lin 229d433359 Bug 1320014 Part 9 - Convert NS_HALF_CORNER_IS_X to a constexpr function. r=mats
MozReview-Commit-ID: 3d2opSIjAUc

--HG--
extra : rebase_source : 03e55f0458dd305fa782ca1e46c32069045e86e9
2017-01-05 14:30:14 +08:00
Ting-Yu Lin df030594f6 Bug 1320014 Part 8 - Move NS_FOR_CSS_HALF_CORNERS to Types.h and rewrite it. r=mats
MozReview-Commit-ID: 5UkZUSe5stP

--HG--
extra : rebase_source : e8c33473a39088d9bd807920630500b31ac6228f
2017-01-05 12:03:23 +08:00
Ting-Yu Lin 797609894a Bug 1320014 Part 7 - Convert half corner indices #define to an enum. r=mats
MozReview-Commit-ID: 8lNtjV14WTN

--HG--
extra : rebase_source : dbfa992a2ee3cab2f639fb5a68463a673410ade6
2017-01-05 11:31:38 +08:00
Ting-Yu Lin 5c9728b639 Bug 1320014 Part 5 - Remove NS_FOR_CSS_CORNERS. r=mats
Remove NS_FOR_CSS_FULL_CORNERS implementation, and rename NS_FOR_CSS_CORNERS
to NS_FOR_CSS_FULL_CORNERS.

MozReview-Commit-ID: 2kmPUZDz3bj

--HG--
extra : rebase_source : a8374d10c9f398b0593d7338be210a1fde25bdc4
2017-01-04 17:52:43 +08:00
Jeremy Chen f735dd2d2c Bug 1328540 - convert NS_STYLE_HYPHENS_* to an enum class. r=xidorn
MozReview-Commit-ID: BwTzbA29Y3H

--HG--
extra : rebase_source : fc07d2c881a8ccc618fd1776d1e977c051b0032f
2017-01-04 23:55:16 +08:00
Mats Palmgren 69e8c00577 Bug 1322191 part 1 - [css-display] Add style system support for display:flow-root. Enable it by default. r=dholbert 2016-12-23 19:11:03 +01:00
cku 286c728e90 Bug 1311270 - Part 3. Replace {bg|mask}-origin/{bg|mask}-clip constants by StyleGeometryBox.
MozReview-Commit-ID: DYokhDa9fFQ

--HG--
extra : rebase_source : a187c3f9519efb8b031913ce0dbf643c05232fa2
2016-11-22 15:30:01 +08:00
cku d44e01d03c Bug 1311270 - Part 2. Rename StyleClipPathGeometryBox to StyleGeometryBox and extend contained values.
MozReview-Commit-ID: 85zjcifAycX

--HG--
extra : rebase_source : 6c2a7c7913251c89888527d70b3b1fe27c475b4a
2016-11-22 14:49:43 +08:00
Ethan Lin a8763b0e05 Bug 1303623 - Part1. Style const changes. r=heycam
MozReview-Commit-ID: 7QfVXegiiqc

--HG--
extra : rebase_source : d98165a7ef1981bbe2fbd3d0ea028db2a9cd7bf9
2016-10-19 15:45:05 +08:00
Ting-Yu Lin 6c29f00e11 Bug 1325006 Part 2 - Convert NS_RADIUS_* to StyleShapeRadius enum class. r=heycam
The "default" case in EnumerationToLength() is not needed anymore because
StyleShapeRadius is an enum class, which cannot have other values.

MozReview-Commit-ID: GHkPAXXxqGZ

--HG--
extra : rebase_source : 8bc51d6f21cd70688d3b968bcd0a5ef12a6e3f47
2016-12-03 16:13:49 +08:00
Cameron McCormack f5bb6f2dfd Bug 1322185 - Rename some StyleDisplay enum values for consistency. r=xidorn
MozReview-Commit-ID: K27LmXKWNdk
2016-12-05 21:36:28 -10:00
Ting-Yu Lin 3a4c674931 Bug 1317588 Part 1 - Move NS_FOR_CSS_SIDES and operator++ to gfx/2d/Types.h. r=mats
Make them live with the definition of enum Side.

MozReview-Commit-ID: 5uJPxFPOj79

--HG--
extra : rebase_source : 566f1a680ae85b61b1af0f643f59a4d1ac7472d3
2016-11-18 15:25:33 +08:00
Adam Velebil 33caf18ccc Bug 1313565 - Convert NS_STYLE_ORIENT_* to enum class ; r=manishearth,xidorn
MozReview-Commit-ID: LHT6Aa2ojlf

--HG--
extra : rebase_source : cad726aee8e14d7ae60b899a76fcd26edb608507
2016-10-28 06:17:20 +02:00
Adam Velebil 389406c473 Bug 1313565 - Convert NS_STYLE_WINDOW_DRAGGING_* to enum class ; r=manishearth,xidorn
MozReview-Commit-ID: 7I7Z4q7mLtC

--HG--
extra : rebase_source : 23ce3fddb26424aa42aea93cfdf6fc123926fe18
2016-10-29 10:51:05 +02:00
Adam Velebil 9260566b60 Bug 1313565 - Convert NS_STYLE_USER_MODIFY_* to enum class ; r=manishearth,xidorn
MozReview-Commit-ID: IA4bGLgRxd6

--HG--
extra : rebase_source : 6632c53a96df170e8604d65b351f7ee2717ec9ec
2016-10-23 22:41:49 +02:00
Adam Velebil e7dddd42f0 Bug 1312173 - Convert NS_STYLE_USER_INPUT_* to an enum class; r=manishearth,xidorn
MozReview-Commit-ID: sYiJrZryrA

--HG--
extra : rebase_source : dbb7bae56bea6203176097af8de119cae0a6391c
2016-10-23 00:08:18 +02:00
Xidorn Quan 2f279e5ef8 Bug 1306214 part 3 - Remove -moz-use-text-color from Gecko. r=heycam
MozReview-Commit-ID: EEYCB5jUH9L

--HG--
extra : rebase_source : ce6fcfdd573e1986a07fdae84106274bd2ae2495
2016-09-29 17:47:22 +10:00