Commit Graph

689 Commits

Author SHA1 Message Date
Jonathan Chan
e201b93c16 Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):

  hg stat -c \
  | cut -c 3-  \
  | tr '\n' '\0' \
  | xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''

Then:

  hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h

... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.

MozReview-Commit-ID: ZV6jyvmLfA
2016-08-16 18:37:48 -07:00
Gregory Szorc
3bcd02ebea Backed out changesets dcdb85fc5517, 702bca0deee2, 9cKX8gC1ATA (bug 1293739) for build bustage; a=bustage
The merge from inbound to central conflicted with the merge from
autoland to central, it appears. Per tree rules, the commit from the
autoland repo wins and the inbound commit gets backed out.

CLOSED TREE
2016-08-16 17:50:40 -07:00
Wes Kocher
bb9e0744e6 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change
2016-08-16 17:05:30 -07:00
Manish Goregaokar
1a43d137cb Bug 1295177 - Convert STYLE_FILL_RULE_* to an enum class; r=xidorn
MozReview-Commit-ID: HnNFNyD4oVJ
2016-08-15 21:47:04 +05:30
Jonathan Chan
23ccd0531f Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):

  hg stat -c \
  | cut -c 3-  \
  | tr '\n' '\0' \
  | xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''

Then:

  hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h

... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.

MozReview-Commit-ID: ZV6jyvmLfA
2016-08-09 16:28:19 -07:00
Ravi Shankar
62a1eae26d Bug 1291667 - Change NS_STYLE_USER_SELECT_* constants to enum classes; r=heycam,manishearth
MozReview-Commit-ID: IcDt3XYvdlj
2016-08-10 21:42:21 +05:30
Ting-Yu Lin
d42431d103 Bug 1293604 - Replace NS_STYLE_FLOAT_* with StyleFloat enum class. r=dbaron
MozReview-Commit-ID: 4K6TyIm6cs3
2016-08-09 17:32:54 +08:00
Ting-Yu Lin
1bcd857cd6 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
2016-07-22 15:40:01 +08:00
Ting-Yu Lin
5256d6f706 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
2016-07-28 13:45:43 +08:00
Carsten "Tomcat" Book
d6658482d0 merge mozilla-inbound to mozilla-central a=merge 2016-07-28 17:43:03 +02:00
Cameron McCormack
bee9c027f9 Bug 1289710 - Allow KTableEntry objects to be initialized with enum values of appropriate size. r=xidorn
MozReview-Commit-ID: JluYrYmy5z1
2016-07-28 15:40:09 +08:00
Chris Peterson
4116b348e3 Bug 1289991 - Remove VS2013 string literal workaround from nsCSSProps.cpp. r=xidorn 2016-07-27 23:53:10 -07:00
Ethan Lin
ed5b79f1aa Bug 720531 - Part 1. Implement space of border-image-repeat CSS property. r=dbaron 2016-07-12 21:50:00 +02:00
Manish Goregaokar
d7eaba573c Bug 1288383 - Replace NS_STYLE_USER_FOCUS_* with an enum class; r=heycam
MozReview-Commit-ID: A7BYcfsn1tI
2016-07-25 11:56:40 +05:30
Manish Goregaokar
23be3f2e35 Bug 1288383 - Replace NS_STYLE_FLOAT_EDGE_* with an enum class; r=heycam
MozReview-Commit-ID: FrH5kGWeXkL
2016-07-25 11:56:05 +05:30
Manish Goregaokar
fa33e2df00 Bug 1288383 - Replace NS_STYLE_BOX_SHADOW_* and NS_STYLE_BASIC_SHAPE_* with enum classes; r=heycam
MozReview-Commit-ID: EgC9rPNXbod
2016-07-25 11:53:27 +05:30
Manish Goregaokar
f0b17743f1 Bug 1287755 - Replace NS_STYLE_CLIP_SHAPE_SIZING_* with an enum class; r=heycam
MozReview-Commit-ID: KutLb8H9JOk
2016-07-20 11:12:42 +05:30
Astley Chen
21c80ee8fd Bug 1283679 - fix misspelled mask-composite:subtract keyword. r=dbaron
MozReview-Commit-ID: 67UEtupOLoM
2016-07-04 11:17:13 +08:00
Xidorn Quan
fecd2848a6 Bug 1141895 part 1 - Add unprefixed values for unicode-bidi. r=jfkthame
MozReview-Commit-ID: EUNCaYUfyzN
2015-08-28 17:50:04 +10:00
Kyle Zentner
528f210152 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
2b0c2ab30c Bug 548372 - Implement round and space values of background-repeat CSS property. r=dbaron 2016-05-06 02:16:00 +02:00
Thomas Wisniewski
43fe8110fa Bug 955857 - Replace CSS word-wrap with overflow-wrap, and add it back as a CSS_PROP_ALIAS. r=dbaron
MozReview-Commit-ID: FiZJvm25rNN
2016-05-23 20:27:21 -04:00
Keith Yeung
198e624d27 Bug 1274339 - Align resizerpanel and caret in -moz-appearance. r=bobbyholley 2016-05-19 10:58:00 +02:00
Daniel Holbert
3abb8576e4 Bug 1274096 part 2: Add support for "-webkit-flex" & "-webkit-inline-flex" as spellings of modern flexbox "display" keywords, if webkit prefix support is enabled. r=mats
MozReview-Commit-ID: 3UKsC1qTz1B
2016-05-23 21:42:36 -07:00
Keith Yeung
ae9de308f5 Bug 1273424 - Rename -moz-appearance keyword constants to be more consistent with CSS keywords. r=bholley 2016-05-18 11:07:47 -07:00
Keith Yeung
9a712653ce Bug 1273424 - Rename -moz-float-edge constants to be more consistent with keywords. r=bholley 2016-05-18 11:07:46 -07:00
e6eca6706f Bug 1192053 - Native theming: Support for Mac OS X source lists (background part). r=gijs, mstange. 2016-05-17 07:37:05 +02:00
Cameron McCormack
3bb5936996 Bug 1271869 - Rename NS_STYLE_TEXT_ALIGN_DEFAULT to NS_STYLE_TEXT_ALIGN_START. r=dholbert 2016-05-11 14:03:34 +10:00
Xidorn Quan
90f7282451 Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
MozReview-Commit-ID: 3KH5cqDFzUI
2016-05-10 18:44:05 +10:00
Ryan VanderMeulen
39f3eff072 Backed out 4 changesets (bug 1269975) for bustage.
Backed out changeset a55ecedea260 (bug 1269975)
Backed out changeset 5321545b938c (bug 1269975)
Backed out changeset 7e4a2ee61ef3 (bug 1269975)
Backed out changeset d181f8e7e4c3 (bug 1269975)
2016-05-10 00:08:54 -04:00
Xidorn Quan
38e4a7340d Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
MozReview-Commit-ID: 3KH5cqDFzUI
2016-05-10 13:36:25 +10:00
Cameron McCormack (:heycam)
544ad99393 Bug 1270001 - Rename NS_STYLE_TEXT_TRANSFORM_FULLWIDTH to use underscores consistently. r=xidorn
This renaming helps with auto-generated code in stylo.
2016-05-03 23:32:00 +02:00
Markus Stange
e3f2c79921 Bug 550426 - Add support for {background,mask}-position-{x,y}, most of the style system changes. r=dbaron
MozReview-Commit-ID: JgZIoj43aZv
2016-04-29 14:12:10 -04:00
Wes Kocher
1a290e54b0 Backed out 10 changesets (bug 550426) for failures in browser_css_autocompletion.js
Backed out changeset 6ff2e12738ca (bug 550426)
Backed out changeset 10ee68fd318e (bug 550426)
Backed out changeset 324f4f602730 (bug 550426)
Backed out changeset 81306e78ccaa (bug 550426)
Backed out changeset 44b820f6fb3d (bug 550426)
Backed out changeset 987b6ff7262e (bug 550426)
Backed out changeset d505646974c7 (bug 550426)
Backed out changeset 2162ecc18859 (bug 550426)
Backed out changeset 1a030aba3acc (bug 550426)
Backed out changeset 3655883e7faf (bug 550426)

MozReview-Commit-ID: AlUihrLtlhL
2016-04-29 14:47:43 -07:00
Markus Stange
f6b7c79b01 Bug 550426 - Add support for {background,mask}-position-{x,y}, most of the style system changes. r=dbaron
MozReview-Commit-ID: JgZIoj43aZv
2016-04-29 14:12:10 -04:00
Jeremy Chen
753e4f7268 Bug 1248708 - Part1: parse and compute -webkit-text-stroke property. r=heycam 2016-04-23 01:40:39 +08:00
Cameron McCormack
f53f4c30de 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
Mats Palmgren
4d2666847a Bug 1266250 part 1 - [css-grid] Resurrect the 'grid-template' shorthand (backs out bug 1253529). r=dholbert 2016-04-21 16:18:34 +02:00
Daniel Holbert
db3996c544 Bug 1262049 part 1: Back out bug 1208344 in its entirety, and mark -webkit-box-orient:vertical reftests as failing (for now). (no review)
This patch backs out changeset range 1f1884449dd4:0b5ed5e4a395 (all of the patches for bug 1208344) -- i.e. it backs out our support for "-webkit-box-orient".  This patch also adds "fails" annotations to two reftests that depend on that feature, to reflect reality that these tests are now expected to fail (for the moment).

MozReview-Commit-ID: F8zGGg8R0Rn
2016-04-20 16:43:24 -07:00
CJKu
410c0198a0 Bug 1265154 - Fix compile error in MSVC 2013 caused by ArrayLength; r=heycam
MozReview-Commit-ID: DvyCNwTRiI7
2016-04-18 11:31:24 +08:00
CJKu
5e1f61012e 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
5cfbb0a7a0 Backed out changeset b68e6d1cf93a (bug 759568) for reftest failures 2016-04-14 08:57:57 +02:00
CJKu
ce2b9eb21b 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
52bb9aaf69 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
0fadc233ab Bug 759568 - Part 1. Parse background-clip:text; r=dholbert r=heycom
MozReview-Commit-ID: BPuQjWYvAuj
2016-04-12 21:58:21 +08:00
Cameron McCormack
4496226b12 Bug 1261754 - Part 8: Move box-shadow from nsStyleBorder to a new nsStyleEffects struct. r=dholbert 2016-04-12 15:52:42 +10:00
Cameron McCormack
0739b68747 Bug 1261754 - Part 3: Move quotes from nsStyleQuotes to nsStyleList and delete nsStyleQuotes. r=dholbert 2016-04-12 15:52:40 +10:00
Tobias Schneider
bf5c366559 Bug 1209273 - Part 1: Support for adjust-color CSS property. r=dbaron 2016-03-08 09:25:24 -08:00
Carsten "Tomcat" Book
a5ce6d8137 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
db4a5786ac Bug 1209273 - Part 1 - Support for color-adjust CSS property. r=dbaron 2016-03-10 10:51:00 +01:00