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

159 Коммитов

Автор SHA1 Сообщение Дата
Manish Goregaokar 0b438b8b77 Bug 1295895 - Correctly capitalize StyleFillRule; r=heycam
MozReview-Commit-ID: ZfHrllA9QV

--HG--
extra : rebase_source : d9b9303d21b3fb5977247ae403caabfd54d666f8
2016-08-17 12:13:26 +05:30
Manish Goregaokar 6519960758 Bug 1295177 - Convert STYLE_FILL_RULE_* to an enum class; r=xidorn
MozReview-Commit-ID: HnNFNyD4oVJ

--HG--
extra : rebase_source : 12dcee0023ec66a49ea2db673bb5ac85cd006c1e
2016-08-15 21:47:04 +05:30
Ravi Shankar 2cfc61be79 Bug 1291667 - Removed unused variant 'MozNone' from StyleUserSelect enum class; r=heycam,manishearth
MozReview-Commit-ID: 53dJd2GYUdt

--HG--
extra : rebase_source : 406d58b113d3044eb9f48b02fdd0168494c22847
2016-08-10 21:43:34 +05:30
Ravi Shankar 61b118d165 Bug 1291667 - Change NS_STYLE_USER_SELECT_* constants to enum classes; r=heycam,manishearth
MozReview-Commit-ID: IcDt3XYvdlj

--HG--
extra : rebase_source : ea426ac572b6adfc09fd9440e45a0c26adde4373
2016-08-10 21:42:21 +05:30
Ting-Yu Lin b8899e7e16 Bug 1293604 - Replace NS_STYLE_FLOAT_* with StyleFloat enum class. r=dbaron
MozReview-Commit-ID: 4K6TyIm6cs3

--HG--
extra : rebase_source : b6210815b7c03d5634fdddf8080a3da4e090d194
2016-08-09 17:32:54 +08:00
Ting-Yu Lin 3e0b364f59 Bug 1288626 Part 8 - Add shape-outside support to style system. r=heycam
I have to move the definition of StyleBasicShape and StyleShapeSource prior to
where nsStyleDisplay::mShapeOutside is defined since the template struct need to
be fully defined before using as a member variable.

Use SetIdent() in CreatePrimitiveValueForBasicShapeOrURL() in
nsComputedDOMStyle.cpp per bug 1288626 comment 6.

MozReview-Commit-ID: 1KZS299CFul

--HG--
extra : rebase_source : d96276a1d514e1e42e1daf6f23e6bbfcb92d3bec
2016-07-22 15:40:01 +08:00
Ting-Yu Lin 213646c667 Bug 1288626 Part 7 - Rename StyleClipShapeSizing to StyleClipPathGeometryBox. r=heycam
Change to geometry box to match the name in the spec.
https://drafts.fxtf.org/css-masking-1/#the-clip-path

MozReview-Commit-ID: 8jDTynCkJ4A

--HG--
extra : rebase_source : c2e165e320c1341012b32b48bfb03b3c9b4f56c5
2016-07-28 13:45:43 +08:00
Ting-Yu Lin 4ad0c1bbe3 Bug 1288626 Part 5 - Rename StyleClipPathType to StyleShapeSourceType. r=heycam
StyleClipPathType will be generalized to StyleShapeSourceType to match this
change.

MozReview-Commit-ID: Igaad2EoSSt

--HG--
extra : rebase_source : 517d7b968e90f8f83e1223d33bd9d59000e034fd
2016-08-04 11:51:20 +08:00
Ting-Yu Lin d5b06eeac7 Bug 1288626 Part 2 - Use basic shape enum class defined in nsStyleConsts.h. r=heycam
Rename StyleBasicShape to StyleBasicShapeType in nsStyleConsts.h, and
replace the old enum nsStyleBasicShape::Type by the enum class
StyleBasicShapeType.

Also, replace NS_ASSERTION() by MOZ_ASSERT().

MozReview-Commit-ID: EuS4ZtYKsk6

--HG--
extra : rebase_source : b6cb68f91c545cef283c97de222111d3acb64b02
2016-07-27 17:59:33 +08:00
Ethan Lin aa628b5054 Bug 720531 - Part 1. Implement space of border-image-repeat CSS property. r=dbaron 2016-07-12 21:50:00 +02:00
Manish Goregaokar 52b9ca33f3 Bug 1288383 - Replace NS_STYLE_USER_FOCUS_* with an enum class; r=heycam
MozReview-Commit-ID: A7BYcfsn1tI

--HG--
extra : rebase_source : b893331b173a306143e546f0d403ae25f827fae2
2016-07-25 11:56:40 +05:30
Manish Goregaokar d78a51cbcc Bug 1288383 - Replace NS_STYLE_FLOAT_EDGE_* with an enum class; r=heycam
MozReview-Commit-ID: FrH5kGWeXkL

--HG--
extra : rebase_source : 73c3446ba07f31f3fbfb6eca304ebe88cccf359a
2016-07-25 11:56:05 +05:30
Manish Goregaokar b3653dd18e Bug 1288383 - Replace NS_STYLE_BOX_SHADOW_* and NS_STYLE_BASIC_SHAPE_* with enum classes; r=heycam
MozReview-Commit-ID: EgC9rPNXbod

--HG--
extra : rebase_source : 8bd51a9bd776c02979093a0ec76cfc42bcee8ffd
2016-07-25 11:53:27 +05:30
Manish Goregaokar f4dffe63a1 Bug 1288383 - Replace NS_STYLE_CLIP_PATH_* with an enum class; r=heycam
MozReview-Commit-ID: H6nwOybonF3

--HG--
extra : rebase_source : db3ab986f7708540219cefa18a21b4624a2dc27a
2016-07-25 11:52:34 +05:30
Cameron McCormack d4b9fb7cfb Fix enum indentation; no bug.
MozReview-Commit-ID: 27Qpn9fG41U
2016-07-22 10:23:25 +08:00
Manish Goregaokar 8add405354 Bug 1287755 - Replace NS_STYLE_CLIP_SHAPE_SIZING_* with an enum class; r=heycam
MozReview-Commit-ID: KutLb8H9JOk

--HG--
extra : rebase_source : ae38fcb7ebc8c6d5a8c77c773c8706580e41040c
2016-07-20 11:12:42 +05:30
Kartikaya Gupta 211af87d45 Bug 1261754 - Trivial follow-up to fix outdated documentation. r=me and DONTBUILD because NPOTB.
MozReview-Commit-ID: E5fmJ48Y0xH
2016-07-05 14:20:59 -04:00
Astley Chen c9de3d6a41 Bug 1283679 - fix misspelled mask-composite:subtract keyword. r=dbaron
MozReview-Commit-ID: 67UEtupOLoM

--HG--
extra : rebase_source : d5c27da11ae0be79ef551c70cfeb17dcf1c3db67
2016-07-04 11:17:13 +08:00
Ting-Yu Lin 8c5af6b331 Bug 1282029 Part 2 - Update comments. r=dbaron
MozReview-Commit-ID: AB01qG99GeH

--HG--
extra : rebase_source : 333e0c02f9b6ef6daadd841cf4be2e35e72158c3
2016-06-24 17:47:33 +08:00
Kyle Zentner b0138383bd Bug 1166728 - Remove support for "box-sizing: padding-box", per CSS WG resolution. r=dholbert r=mats
MozReview-Commit-ID: JClqoCUrm11
2016-06-18 23:03:30 +01:00
Lazar Sumar a045541027 Bug 548372 - Implement round and space values of background-repeat CSS property. r=dbaron 2016-05-06 02:16:00 +02:00
Thomas Wisniewski 9b377bb0ef Bug 955857 - Replace CSS word-wrap with overflow-wrap, and add it back as a CSS_PROP_ALIAS. r=dbaron
MozReview-Commit-ID: FiZJvm25rNN

--HG--
extra : rebase_source : c7b16fc302e5c7905beea98353faa960db0a9248
2016-05-23 20:27:21 -04:00
Keith Yeung 24bac18bf5 Bug 1273424 - Rename -moz-float-edge constants to be more consistent with keywords. r=bholley 2016-05-18 11:07:46 -07:00
Cameron McCormack 4ca33888b2 Bug 1271869 - Rename NS_STYLE_TEXT_ALIGN_DEFAULT to NS_STYLE_TEXT_ALIGN_START. r=dholbert 2016-05-11 14:03:34 +10:00
Cameron McCormack (:heycam) e78be5f934 Bug 1270001 - Rename NS_STYLE_TEXT_TRANSFORM_FULLWIDTH to use underscores consistently. r=xidorn
This renaming helps with auto-generated code in stylo.

--HG--
extra : rebase_source : d11cf8190f7aa4a73bf63c55afc97043d7c9c159
2016-05-03 23:32:00 +02:00
Cameron McCormack cd6a2cb8f8 Bug 1266324 - Rename style const macro for unicode-bidi:bidi-override to be consistent with other style consts. r=jfkthame 2016-04-22 10:37:21 +10:00
CJKu d2552e50a5 Bug 759568 - Part 1. Parse background-clip:text; r=dholbert r=heycam
MozReview-Commit-ID: BPuQjWYvAuj
2016-04-14 16:28:06 +08:00
Carsten "Tomcat" Book ff1d585b2e Backed out changeset b68e6d1cf93a (bug 759568) for reftest failures 2016-04-14 08:57:57 +02:00
CJKu eb3d4dc948 Bug 759568 - Part 1. Parse background-clip:text; r=dholbert r=heycom
MozReview-Commit-ID: BPuQjWYvAuj
2016-04-14 12:45:37 +08:00
Sebastian Hengst 2a9bc780d3 Backed out changeset 7ec8bfb9bbd4 (bug 759568) for failures in test_all_shorthand.html and more. r=backout 2016-04-12 17:55:52 +02:00
CJKu a5da82483b Bug 759568 - Part 1. Parse background-clip:text; r=dholbert r=heycom
MozReview-Commit-ID: BPuQjWYvAuj
2016-04-12 21:58:21 +08:00
Tobias Schneider 910b79dd54 Bug 1209273 - Part 1: Support for adjust-color CSS property. r=dbaron 2016-03-08 09:25:24 -08:00
Carsten "Tomcat" Book dc337845d1 Backed out changeset d5a9ff0ae110 (bug 1209273) for test failures in browser_rules_completion-new-property_02.js 2016-04-01 11:58:12 +02:00
Tobias Schneider af80c17051 Bug 1209273 - Part 1 - Support for color-adjust CSS property. r=dbaron 2016-03-10 10:51:00 +01:00
Daniel Holbert 37e8c9d5cc Bug 1236400 part 1: Add internal enum values to represent "display: -webkit-box" & "display: -webkit-inline-box". r=mats
These new enum values are added with same behavior as their modern flexbox
equivalents -- they're hooked up to NS_NewFlexContainerFrame, and they're
listed alongside the modern flexbox enums in 'switch' & 'if' statements.

There's one exception, which I call out with a comment at the end of the patch:
we don't treat -webkit-box the same as flexbox in IsFlexOrGridDisplayType(),
because that method is used to determine whether we should blockify
inline-level children of a flex/grid container, and we don't want to blockify
any children of a -webkit-box. (Instead, we want to wrap them in an anonymous
flex item. That happens in the next patch.)

MozReview-Commit-ID: 9BB4Ib2KpvE
2016-03-24 09:55:11 -07:00
CJKu 4985b55721 Bug 1224424 - Replace mask-mode:auto keyword by mask-mode:match-source; r=dbaron
MozReview-Commit-ID: FKEJI1rHTIA

--HG--
extra : rebase_source : cdd72c6ae3b44e75d0f3415d99d3a897729a43fc
2016-02-25 17:31:47 +08:00
Brendan Dahl 1e077c8a5f Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-23 17:10:00 +01:00
L. David Baron 96d86ab5e7 Bug 1250342 patch 2: Rename NS_STYLE_TEXT_ALIGN_TRUE to NS_STYLE_TEXT_ALIGN_UNSAFE. r=mats
MozReview-Commit-ID: LuHepP37jtr
2016-02-24 10:40:30 -08:00
Wes Kocher 42c013e034 Backed out 3 changesets (bug 1250342) for reftest failures in text-align-true.html CLOSED TREE
Backed out changeset 0eae0890ee11 (bug 1250342)
Backed out changeset e82e430d0eda (bug 1250342)
Backed out changeset 866f8a7337df (bug 1250342)

--HG--
extra : commitid : Gme2p6OagcA
2016-02-23 13:10:40 -08:00
L. David Baron 44d6843d2e Bug 1250342 patch 2: Rename NS_STYLE_TEXT_ALIGN_TRUE to NS_STYLE_TEXT_ALIGN_UNSAFE. r=mats
MozReview-Commit-ID: LuHepP37jtr
2016-02-23 09:41:48 -08:00
Wes Kocher ddcc30c564 Backed out changeset 4fa1296bd773 (bug 1104916) for win debug m(oth) permafails CLOSED TREE
--HG--
extra : commitid : HW3icAqLZUB
2016-02-05 11:42:55 -08:00
Brendan Dahl b25b48552b Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-04 13:34:00 +01:00
Markus Stange 77d52c0a79 Bug 1241275 - Change the way -moz-window-dragging works. r=heycam,roc
This adds the value -moz-window-dragging: default as the initial value of the property,
and makes it a [reset] property. This allows us to change the way the window dragging
region is calculated: Elements with -moz-window-dragging: no-drag will now always be
undraggable, even if they are overlapped by -moz-window-dragging: drag elements. That
way we can keep the region calculation simple and don't have to add code to respect
z-ordering.

--HG--
extra : commitid : GX3ApAyzKi7
extra : rebase_source : 61cab4e535c6c5da75fe79eb1886b6c5b7d136ea
extra : amend_source : 0f461782b8f65eca1009c2f6c192b5b80b908233
2016-01-27 11:58:33 +01:00
CJKu 577578571f Bug 686281 - Implement CSS mask style; r=dbaron. 2016-01-28 06:28:00 +01:00
CJKu 538b854ad1 Bug 686281 - Rename *background* to *imagelayer*; r=dbaron. 2016-01-28 06:27:00 +01:00
Mats Palmgren 0b1a56d480 Bug 1233106 part 1 - [css-align] Update align-/justify-* properties to the current CSS Align spec (adding 'normal' keyword, dropping 'auto' in some cases etc). r=dholbert
The CSSWG minutes for reference:
https://lists.w3.org/Archives/Public/www-style/2015Dec/0233.html

With subsequent correction for the root node:
https://lists.w3.org/Archives/Public/www-style/2016Jan/0015.html
2016-01-05 21:27:13 +01:00
Mats Palmgren b600a402ec Bug 1230478 part 1 - [css-align] Rename 'true' to 'unsafe' in <overflow-position>. r=dholbert 2016-01-05 21:27:13 +01:00
Mats Palmgren 781441cd1d Bug 1118820 part 1 (style system part) - [css-grid] Implement the 'auto-fill' and 'auto-fit' keywords in the repeat() function. r=dholbert 2015-12-22 23:03:15 +01:00
L. David Baron d588bfd40b Bug 1230701 - Make will-change:position create a containing block for absolutely-positioned elements. r=dholbert
--HG--
extra : commitid : 99HuPIkGhg5
2015-12-07 18:39:41 -05:00
L. David Baron b218a5c03d Bug 1227766 patch 2 - Add will-change bit for establishing a containing block for fixed positioned elements. r=dholbert
--HG--
extra : commitid : JoBB7VKAPye
2015-11-30 15:46:44 -08:00