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
Mats Palmgren
0edbd4ad4c
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
e735d0520a
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
ca4a1dfbb6
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
b06df07867
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
ab2709bc55
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
343fce8c76
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
5259497975
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
cb1d1d16b1
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
Xidorn Quan
c62bff4099
Bug 1206468 - Remove unused internal appearance value -moz-mac-unified-toolbar. r=mstange
...
--HG--
extra : source : adbf31ddaea4d289f6a6a226a112f73cd3d8391f
2015-10-23 19:51:34 +11:00
Cameron McCormack
22382bec27
Bug 1208951 - Part 5: Add nsCSSProps method to look a property by its IDL name. r=bzbarsky
2015-10-22 19:22:37 +11:00
L. David Baron
221bfbea99
Bug 1215702 patch 2 - Remove the mechanism of backend-only CSS properties. r=heycam
...
This is a mechanism that should not exist; any use of it means
nonconformance with http://www.w3.org/TR/CSS/#partial .
--HG--
extra : commitid : fI2rko2cf4
2015-10-19 22:22:34 -07:00
Xidorn Quan
e9db99c05b
Bug 1126230 part 4 - Add -moz-top-layer internal CSS property and set it for fullscreen elements. r=dbaron
...
--HG--
extra : source : 66def85f28a64f87a9bf072754a3146aacb59714
2015-10-07 14:04:32 +11:00
Xidorn Quan
e09ca4aedc
Bug 1069192 part 2 - Add a flag for chrome-only properties and change semantics of enabling flags. r=dbaron
...
This patch changes the semantics of enabling flags so that their presence makes
the property default to off when there is no pref, and also removes "ALWAYS"
from their name to match.
--HG--
extra : source : 12d33074485c080dfdffff703b88662baa628b51
2015-10-03 11:12:09 +10:00
Nigel Babu
d86528af5e
Backed out 3 changesets (bug 1069192) for OS X debug M(oth) crashes
...
Backed out changeset e86111412050 (bug 1069192)
Backed out changeset a5f11c5c5bcb (bug 1069192)
Backed out changeset a4aaaac8f133 (bug 1069192)
2015-10-02 15:08:43 +05:30
Nigel Babu
a47d2e063f
Backed out 9 changesets (bug 1126230) for Mulet Gij(25) and M(5) failures
...
Backed out changeset 8a9d8a556183 (bug 1126230)
Backed out changeset 441b55f015c2 (bug 1126230)
Backed out changeset 7bfa2a2d4e29 (bug 1126230)
Backed out changeset b55511536c65 (bug 1126230)
Backed out changeset ada76e419aac (bug 1126230)
Backed out changeset 745d659bef49 (bug 1126230)
Backed out changeset 7c303cc4c30b (bug 1126230)
Backed out changeset 8bf708acbad4 (bug 1126230)
Backed out changeset 590404aac357 (bug 1126230)
2015-10-02 13:39:20 +05:30
Xidorn Quan
28b8a15504
Bug 1126230 part 3 - Add -moz-top-layer internal CSS property and set it for fullscreen elements. r=dbaron
...
--HG--
extra : source : 0dfddc30b41b364d41b0be691b9b78eeb6353193
2015-10-02 16:34:09 +10:00
Xidorn Quan
29c0dcbbb3
Bug 1069192 part 2 - Add a flag for chrome-only properties and change semantics of enabling flags. r=dbaron
...
This patch changes the semantics of enabling flags so that their presence makes
the property default to off when there is no pref, and also removes "ALWAYS"
from their name to match.
--HG--
extra : source : 12d33074485c080dfdffff703b88662baa628b51
2015-10-02 11:01:54 +10:00
Jonathan Kew
b20e9ca870
Bug 1193519 pt 5 - Expose the sideways-lr value for writing-mode to CSS. r=dholbert
2015-09-24 10:23:34 +01:00
Jonathan Kew
a091884801
Bug 1193488 - Update values of writing-mode and text-orientation to reflect the CSS WG decision to revise them in the Writing Modes spec. r=dholbert
2015-09-23 22:16:01 +01:00
Cameron McCormack
f62a2c90cc
Bug 1206569 - Part 4: Add method to get a CSS property's IDL name. r=bzbarsky
2015-09-22 15:58:20 +10:00
Cameron McCormack
e8b8ea80b9
Bug 1206569 - Part 2: Note internal CSS properties using a flag. r=bzbarsky
2015-09-22 15:58:20 +10:00
Jonathan Kew
e80578d2d0
Bug 1205787
- Map the writing-mode values from SVG1.1 to their CSS equivalents. r=heycam
2015-09-20 08:55:47 +01:00
Jonathan Kew
0a7461bd0a
Bug 1202993 - Remove the logical-direction-based keywords for caption-side, and instead interpret the old physical keywords as logical sides. r=dholbert
2015-09-15 22:02:30 +01:00