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
Xidorn Quan
fa7ba2cb82
Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
...
MozReview-Commit-ID: 3KH5cqDFzUI
--HG--
extra : rebase_source : 3c8355f7807982152a16a913b31cbcdd6ef78030
extra : source : 73e89d25a34ca5587f306b848b0b801342f9432f
2016-05-10 18:44:05 +10:00
Ryan VanderMeulen
f514ed495c
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
30a6d76b26
Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
...
MozReview-Commit-ID: 3KH5cqDFzUI
--HG--
extra : source : 73e89d25a34ca5587f306b848b0b801342f9432f
2016-05-10 13:36:25 +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
Markus Stange
1a43349a44
Bug 550426 - Add support for {background,mask}-position-{x,y}, most of the style system changes. r=dbaron
...
MozReview-Commit-ID: JgZIoj43aZv
--HG--
extra : rebase_source : cf90a8cf7c10ee90f4c312b7ff5c1107aa8571f2
2016-04-29 14:12:10 -04:00
Wes Kocher
6521757101
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
--HG--
rename : layout/reftests/backgrounds/background-position-6b.html => layout/reftests/backgrounds/background-position-6.html
2016-04-29 14:47:43 -07:00
Markus Stange
10d8636821
Bug 550426 - Add support for {background,mask}-position-{x,y}, most of the style system changes. r=dbaron
...
MozReview-Commit-ID: JgZIoj43aZv
--HG--
extra : rebase_source : 5c7663c042e6507f9979d769db26eef22dc8ba79
2016-04-29 14:12:10 -04:00
Jeremy Chen
84a70f3910
Bug 1248708 - Part1: parse and compute -webkit-text-stroke property. r=heycam
2016-04-23 01:40:39 +08: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
Mats Palmgren
784d6b392f
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
dfb1c4c768
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
1f80f6d497
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
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
Cameron McCormack
0718df89c3
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
6883fc4b42
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
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
Daniel Holbert
00d43c6f13
Bug 1257938 part 3: Remove support for the "layout.css.sticky.enabled" pref (so we'll unconditionally support "position: sticky"). r=corey
...
MozReview-Commit-ID: 9jYcXkUvi8S
2016-03-20 23:06:53 -07:00
Mats Palmgren
0524303c83
Bug 1253529 part 2 - [css-grid] Remove the 'grid-template' shorthand. r=dholbert
2016-03-08 23:03:26 +01:00
CJKu
27044084c1
Bug 1243734 - Part 1. Use MOZ_ENABLE_MASK_AS_SHORTHAND to define the type of mask property; r=dbaron
...
MozReview-Commit-ID: FkPgdh8YHOC
2016-03-01 19:52:17 +08: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
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
L. David Baron
b6111122f6
Bug 1250342 patch 1: Rename exposed keyword for text-align: true to unsafe. r=mats
...
MozReview-Commit-ID: LYR3LtMtT2Q
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
L. David Baron
1a1f378269
Bug 1250342 patch 1: Rename exposed keyword for text-align: true to unsafe. r=mats
...
MozReview-Commit-ID: LYR3LtMtT2Q
2016-02-23 09:41:47 -08:00
Mats Palmgren
126a749fe4
Bug 1246101 - Restore some auto-completion for the align-/justify-* properties. r=dholbert
2016-02-08 17:35:01 +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
0b074f8303
Bug 1240956 part 1 - [css-grid] Swap the order of column/row values for 'grid', 'grid-template' and 'grid-gap' properties. Block axis values now always comes first; inline axis values second. r=dholbert
2016-01-27 17:02:13 +01:00
John Daggett
40dd7eed07
Bug 1157064 - font-display descriptor parsing. r=dbaron
2016-01-07 14:02:58 +09: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
Daniel Holbert
132f908817
Bug 1208344 part 5: Add (preffed-off) support for "-webkit-box-orient" CSS property, as a writing-mode-dependent alias for "flex-direction". r=heycam
2015-12-30 23:36:31 -08:00
Jan Horak
76cccd6b7d
Bug 1205643 - "Wrong scrollbar border prevents scrolling to cursor when mouse is on the screen edge". r=karlt
2015-12-22 05:05:00 +01:00
Xidorn Quan
7b1f42e5c6
Bug 1202940
part 2 - Remove layout.css.ruby.enabled pref. r=dbaron
...
--HG--
extra : source : bb1c73598b74195f9877b189f2e2e19fb1eb0fc0
2015-12-01 09:39:37 +11:00
Xidorn Quan
e33deb9306
Bug 1040668 part 2 - Parse and compute text emphasis properties. r=dbaron
...
--HG--
extra : source : 354f4bd8c87646dfbe0a307e0fa140c630dbdb89
2015-11-28 11:56:33 +11:00
Boris Chiou
30de036e45
Bug 1215406 - Part 1: Remove NS_STYLE_ANIMATION_DIRECTION_XXX and NS_STYLE_ANIMATION_FILL_MODE_XXX. r=heycam
...
Replace the definitions of
1. NS_STYLE_ANIMATION_DIRECTION_XXX with mozilla::dom::PlaybackDirection
2. NS_STYLE_ANIMATION_FILL_MODE_XXX with mozilla::dom::FillMode
So we can static_cast mozilla::dom::PlaybackDirection and mozilla::dom::FillMode
into integers directly.
--HG--
extra : rebase_source : d01bd54f901096b3b00dd3d7b6994c30f9660e82
2015-11-21 06:34:00 +01:00
Xidorn Quan
39583b4ce6
Bug 1224464 followup - Fix bustage on opt builds on CLOSED TREE
2015-11-20 14:31:38 +11:00
L. David Baron
8edfb62b0c
Bug 1223653 patch 2 - Use an enum class for NS_STYLE_BOX_SIZING_*. r=heycam
...
The casts in nsCSSProps.cpp (defining kBoxSizingKTable) and in
nsComputedDOMStyle::DoGetBoxSizing (using
nsCSSProps::ValueToKeywordEnum) are a little bit annoying, though aren't
a net reduction in typesafety.
The casts in nsRuleNode.cpp (SetDiscrete) are a little more annoying,
though the change in this patch should be sufficient for converting all
properties -- but that may also mean reducing typesafety a bit for all
properties.
I'd like to find something better to do about them, but I think I'm ok
landing this before doing that. Bug 1224918 covers doing better.
--HG--
extra : commitid : GEVyZB5b23F
2015-11-19 18:09:29 -08:00
L. David Baron
96383fc767
Bug 1224464 patch 3 - Rename KTableValue to KTableEntry now that it is a struct. r=heycam
...
--HG--
extra : commitid : B2iM8wFeMUs
2015-11-19 18:09:07 -08:00
L. David Baron
f4b9c949b7
Bug 1224464 patch 2 - Make nsCSSProps keyword tables be arrays of structs, to represent what they logically are. r=heycam
...
--HG--
extra : commitid : 5YOv7qQkUeW
2015-11-19 18:08:57 -08:00