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
Daniel Holbert
22b6cb5f0f
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
1b9c6498f6
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
da36c44e1d
Bug 1253529 part 2 - [css-grid] Remove the 'grid-template' shorthand. r=dholbert
2016-03-08 23:03:26 +01:00
CJKu
3c9eb1e509
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
07b79cda11
Bug 1224424 - Replace mask-mode:auto keyword by mask-mode:match-source; r=dbaron
...
MozReview-Commit-ID: FKEJI1rHTIA
2016-02-25 17:31:47 +08:00
L. David Baron
7e36a8b6b2
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
4ced313a4c
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
35a1a6f191
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)
2016-02-23 13:10:40 -08:00
L. David Baron
557997589d
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
f44ba82554
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
9c7464216f
Bug 1246101 - Restore some auto-completion for the align-/justify-* properties. r=dholbert
2016-02-08 17:35:01 +01:00
Markus Stange
c1663a433e
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.
2016-01-27 11:58:33 +01:00
CJKu
bf17fc7340
Bug 686281 - Implement CSS mask style; r=dbaron.
2016-01-28 06:28:00 +01:00
CJKu
ff44f07acd
Bug 686281 - Rename *background* to *imagelayer*; r=dbaron.
2016-01-28 06:27:00 +01:00
Mats Palmgren
a454b92315
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
4969d69992
Bug 1157064 - font-display descriptor parsing. r=dbaron
2016-01-07 14:02:58 +09:00
Mats Palmgren
6d8ef8591f
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
fea59f0852
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
7daab667cc
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
14e6f46e2b
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
1a4ffe5426
Bug 1202940 part 2 - Remove layout.css.ruby.enabled pref. r=dbaron
2015-12-01 09:39:37 +11:00
Xidorn Quan
0856abb2ea
Bug 1040668 part 2 - Parse and compute text emphasis properties. r=dbaron
2015-11-28 11:56:33 +11:00
Boris Chiou
6a3de1e97a
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.
2015-11-21 06:34:00 +01:00
Xidorn Quan
063f913324
Bug 1224464 followup - Fix bustage on opt builds on CLOSED TREE
2015-11-20 14:31:38 +11:00
L. David Baron
cab615e8d5
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.
2015-11-19 18:09:29 -08:00
L. David Baron
2571b8bdfe
Bug 1224464 patch 3 - Rename KTableValue to KTableEntry now that it is a struct. r=heycam
2015-11-19 18:09:07 -08:00
L. David Baron
75cee4ae72
Bug 1224464 patch 2 - Make nsCSSProps keyword tables be arrays of structs, to represent what they logically are. r=heycam
2015-11-19 18:08:57 -08:00
Mats Palmgren
f0d397f047
Bug 1176792 part 1 - [css-grid] Implement the 'grid-column-gap', 'grid-row-gap', and 'grid-gap' properties in the style system. r=dholbert,dbaron
2015-11-18 19:52:27 +01:00
Jonathan Kew
eecb602b58
Bug 1122918 - Put the logical values for 'float' and 'clear' behind a pref, and enable them only on nightly builds and for B2G. r=heycam
2015-11-10 09:07:01 +00:00
Jonathan Kew
6a68cfda21
Bug 1122918 - Part 1 - Add parsing for logical inline-start/end keywords to the 'float' and 'clear' properties. r=heycam
2015-09-18 16:25:10 +01:00
Mats Palmgren
3149757e26
Bug 1176782 part 6 - [css-align] Implement additional syntax and values for the 'align-content' property in the style system. r=cam
2015-11-03 15:18:06 +01:00
Mats Palmgren
623054f187
Bug 1176782 part 5 - [css-align] Implement additional syntax and values for the 'align-self' property in the style system. r=cam
2015-11-03 15:18:06 +01:00
Mats Palmgren
e0422d1e26
Bug 1176782 part 4 - [css-align] Implement additional syntax and values for the 'align-items' property in the style system. r=cam
2015-11-03 15:18:05 +01:00
Mats Palmgren
c3f3c9abcd
Bug 1176782 part 3 - [css-align] Implement additional syntax and values for the 'justify-content' property in the style system. r=cam
2015-11-03 15:18:05 +01:00
Mats Palmgren
f9f7acdb17
Bug 1176782 part 1 - [css-align] Implement the 'justify-items' property in the style system. r=SimonSapin
2015-11-03 15:18:05 +01:00