Xidorn Quan
e9aef3457a
Bug 1449039 part 13 - Remove stylestructoffset arg from CSS_PROPs. r=emilio
...
MozReview-Commit-ID: B3d8z25kyVk
2018-03-27 14:09:57 +11:00
Xidorn Quan
c9b96222f4
Bug 1449039 part 12 - Keep only necessary params for CSS_PROP definitions. r=emilio
...
MozReview-Commit-ID: 6LG9WjXemno
2018-03-27 09:54:20 +11:00
Xidorn Quan
a88cd84afa
Bug 1449039 part 11 - Remove some unused functions in nsCSSProps. r=emilio
...
MozReview-Commit-ID: 6ielCRb3p1U
2018-03-27 12:51:51 +11:00
Xidorn Quan
73c21654d0
Bug 1449039 part 10 - Remove PredefinedCounterStyleTable. r=emilio
...
MozReview-Commit-ID: AeYqai3Nr72
2018-03-27 12:51:10 +11:00
Xidorn Quan
4575bec55d
Bug 1449039 part 9 - Remove ShorthandsContainingTable. r=emilio
...
MozReview-Commit-ID: 8seKJRCgxiS
2018-03-27 12:26:45 +11:00
Xidorn Quan
e371ad073c
Bug 1449039 part 7 - Remove CSS_PROPERTY_LOGICAL* flags. r=emilio
...
MozReview-Commit-ID: E1Uk7VRux39
2018-03-27 11:14:29 +11:00
Xidorn Quan
13bcfebd59
Bug 1449039 part 6 - Remove CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED. r=emilio
...
MozReview-Commit-ID: IQI2CUUsfUd
2018-03-27 11:09:08 +11:00
Xidorn Quan
2187f2ccf3
Bug 1449039 part 3 - Remove kStyleStructOffsetTable. r=emilio
...
MozReview-Commit-ID: CS50FdkPUP1
2018-03-27 09:53:06 +11:00
Xidorn Quan
7734221fdd
Bug 1449039 part 2 - Remove LogicalGroup. r=emilio
...
MozReview-Commit-ID: QMMVxURx8w
2018-03-27 10:34:44 +11:00
Xidorn Quan
10ccf10953
Bug 1449039 part 1 - Remove Property{Count,Index}InStruct. r=emilio
...
MozReview-Commit-ID: Dw1Tx7ZJQXV
2018-03-27 09:51:05 +11:00
Xidorn Quan
e74c1e1696
Bug 1448526 part 2 - Make nsStyleStructList.h not generated. r=emilio
...
nsStyleStructList.h was initially made generated in bug 873368 to avoid
manually maintaining boilerplate for if-dispatch, while the if-dispatch
was replaced by jump table in bug 1171842, so the boilerplate went away.
However, in bug 1122781 (before bug 1171842), boilerplate for dependency
check, so it still needs to be generated.
The dependency table is removed in the previous patch, so we no longer
have any boilerplate in the style struct list, and thus it doesn't need
to be generated anymore.
MozReview-Commit-ID: GkbJZ98ojbE
2018-03-26 20:09:17 +11:00
Emilio Cobos Álvarez
ff6075119a
Bug 1448661: Remove unused CSS_PROPERTY_IS_ALIAS flag. r=jwatt
...
MozReview-Commit-ID: 10B4pi2Zwsx
2018-03-25 18:24:01 +02:00
Emilio Cobos Álvarez
1d4859a89a
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 20:06:24 +01:00
Emilio Cobos Álvarez
97286b35c8
Back out changeset b683bb3f22a1 (Bug 1447483) for not landing with all the files. r=me on a CLOSED TREE
...
This reverts commit 1808914126bb9f9e4a82d2c3d7ac961885fe7d62.
MozReview-Commit-ID: 5skESBseEvo
2018-03-22 20:05:22 +01:00
Emilio Cobos Álvarez
1f5d8de5cc
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 19:48:42 +01:00
Jonathan Kew
c7874269af
Bug 1358450 - Remove the layout.css.float-logical-values.enabled pref, now that we support the logical values everywhere. r=heycam
2017-04-21 11:58:17 +01:00
Jeff Walden
f740d79d47
Bug 1443342 - Don't blacklist nsCSSProps.cpp:SortPropertyAndCount from integer-overflow sanitizing. r=froydnj
2018-03-06 09:34:04 -08:00
Chris Peterson
20b28f1d54
Bug 1443402 - Fix some -Wmissing-prototypes warnings in layout. r=dholbert
...
-Wmissing-prototypes is a new optional warning available in clang ToT. It warns about global functions that have no previous function declaration (e.g. from an #included header file). These functions can probably be made static (allowing the compiler to better optimize them) or they may be unused.
Confusingly, clang's -Wmissing-prototypes is equivalent to gcc's -Wmissing-declarations, not gcc's -Wmissing-prototypes. A function prototype is a function declaration that specifies the function's argument types. C++ requires that all function declarations specify their argument types, but C does not. As such, gcc's -Wmissing-prototypes is a C-only warning about C functions that have no previous function *prototypes* (with argument types), even if a previous function *declaration* (without argument types) was seen.
MozReview-Commit-ID: FGKVLzeQ2oK
2018-02-22 21:03:45 -08:00
Jonathan Kew
58dec695ae
Bug 1435983 - Make the 'font' shorthand reset the 'font-variation-settings' property, as required by css-fonts-4. r=emilio
2018-03-05 16:25:22 +01:00
Jonathan Kew
73e7d73f9c
Bug 1435692 - patch 2 - Implement the font-optical-sizing property in the Gecko style system, to control whether optical size is automatically applied. r=jwatt
...
MozReview-Commit-ID: ClcWeX6Hsvm
2018-03-03 22:12:11 +01:00
Emilio Cobos Álvarez
8ec834a375
Bug 1438297: Unship the legacy syntax for -moz-transform. r=xidorn
...
Intent to unship link:
https://groups.google.com/d/msg/mozilla.dev.platform/T3PGm97MPNU/59XUavMlCgAJ
MozReview-Commit-ID: 6ybGBasPAWU
2018-02-19 13:06:20 +01:00
Emilio Cobos Álvarez
f8160af334
Bug 1405087: Also nix -moz-user-input: enabled. r=bz
...
It only has one use, has the same effect that "auto", and should have no effect
in <a> elements anyway (plus it's not overridden or used in that file at all
anyway), so we can remove its only use instead.
I can also change that use to "auto" if you want, but bug 760876 doesn't mention
-moz-user-input at all, so I think this is quite useless...
See the intent to unship for research on out of the tree usage:
https://groups.google.com/d/msg/mozilla.dev.platform/E6tfP__wkwg/YVW6nPX9CQAJ
MozReview-Commit-ID: 8EzQlzu9drE
2018-02-15 21:49:04 +01:00
Emilio Cobos Álvarez
771d667f41
Bug 1405087: Nix -moz-user-input: disabled. r=bz
...
It does nothing, and there's only one use of it anyway.
See the intent to unship for research on out of the tree usage:
https://groups.google.com/d/msg/mozilla.dev.platform/E6tfP__wkwg/YVW6nPX9CQAJ
MozReview-Commit-ID: 5XnsewYdvgQ
2018-02-15 21:48:59 +01:00
Jonathan Kew
7185c7dfe5
Bug 1436362 - Remove outdated code from when the font-feature-settings and font-language-override descriptors were -moz-prefixed. r=jwatt
2018-02-08 08:49:06 +00:00
Tom Tromey
7948eb7e25
Bug 1255369 - fix getCSSValuesForProperty for line-style-type; r=xidorn
...
This fixes InspectorUtils::getCSSValuesForProperty to return the
correct values for line-style-type.
MozReview-Commit-ID: 72Tes6y15j8
2018-01-31 08:50:27 -07:00
Tom Tromey
c70a9fc47a
Bug 1430616 - correctly find end of keyword table in InspectorUtils; r=heycam
...
Currently, InspectorUtils::GetCSSValuesForProperty will not return
"match-parent" for "text-align". The bug is that InspectorUtils uses
an out-of-date approach to finding the end of the keyword table; and
this approach conflicts with the special "unsafe" handling in
TextAlignUnsafeEnabledPrefChangeCallback:
https://dxr.mozilla.org/mozilla-central/rev/21ddfb9e6cc008e47da89db50e22697dc7b38635/layout/base/nsLayoutUtils.cpp#317-321
MozReview-Commit-ID: 58qfKQwIyMX
2018-01-15 09:14:55 -07:00
Xidorn Quan
6831f9fcc2
Bug 1325940 part 2 - Converted NS_STYLE_BORDER_IMAGE_REPEAT_* to an enum class. r=emilio
...
MozReview-Commit-ID: Kdzm5D8Dpv
2017-12-21 16:16:40 +11:00
Emilio Cobos Álvarez
bc59fba070
Bug 1398492: Remove the grid pref. r=mats
...
MozReview-Commit-ID: 6Qez8NE8oze
2017-12-17 00:04:35 +01:00
Mats Palmgren
03018ea47a
Bug 1422839 part 1 - Add internal overflow-clip-box-block/-inline properties and make overflow-clip-box a shorthand. r=dholbert
...
MozReview-Commit-ID: axoDaWnOJQ
2017-12-05 21:08:41 +01:00
Emilio Cobos Álvarez
c370684dde
Bug 1417200: Make -moz-border-colors chrome only. r=xidorn
...
On a CLOSED TREE, since the servo patch managed to get in.
This also makes the border longhand no longer reset them.
MozReview-Commit-ID: KNais1e5FnE
2017-12-01 23:25:01 +01:00
lochang
2ccf5537f1
Bug 1417751 - Implement a new value inner-spin-button to -moz-appearance on all platforms except Android. r=mats
...
MozReview-Commit-ID: 7jpLCOWZA2x
2017-11-29 10:43:13 +08:00
Cosmin Sabou
22abad7206
Backed out changeset 423f4e43a975 (bug 1417751) for xpcshell failures at devtools/shared/tests/unit/test_css-properties-db.js r=backout on a CLOSED TREE
2017-11-28 13:50:59 +02:00
lochang
5f16b8da64
Bug 1417751 - Implement a new value inner-spin-button to -moz-appearance on all platforms except Android. r=mats
...
MozReview-Commit-ID: 3I1LBLbCfmF
2017-11-28 10:39:50 +08:00
Cameron McCormack
bd425ba1f2
Bug 1420383 - Move nsCSSProps::kParserVariantTable into its rightful home in nsCSSProps.cpp. r=xidorn
...
MozReview-Commit-ID: 7Rg3EYq5GPQ
2017-11-24 18:17:36 +08:00
Botond Ballo
d2150a861f
Bug 951793 - Style support for overscroll-behavior. r=heycam
...
MozReview-Commit-ID: IDAfBZy2D5p
2017-11-25 01:28:58 +01:00
Sebastian Hengst
df2429a1ad
Backed out 15 changesets (bug 951793) because it landed before the necessary servo changes. r=backout requested by emilio on a CLOSED TREE
...
Backed out changeset ca8c86e229df (bug 951793)
Backed out changeset 6eef6403fa71 (bug 951793)
Backed out changeset a5e529f52fb1 (bug 951793)
Backed out changeset 054e837609d0 (bug 951793)
Backed out changeset 713a3c9617ce (bug 951793)
Backed out changeset 884913aa1668 (bug 951793)
Backed out changeset c3340b84e534 (bug 951793)
Backed out changeset 50fe3c6ac486 (bug 951793)
Backed out changeset be4e22e5c257 (bug 951793)
Backed out changeset 7055bd5dfc4e (bug 951793)
Backed out changeset fa6da1e723cf (bug 951793)
Backed out changeset 386f77004d89 (bug 951793)
Backed out changeset fa82cdc01408 (bug 951793)
Backed out changeset 867d8ea5355c (bug 951793)
Backed out changeset e61ac8e48971 (bug 951793)
2017-11-25 01:01:41 +02:00
Botond Ballo
3bc3bacff3
Bug 951793 - Style support for overscroll-behavior. r=heycam
...
MozReview-Commit-ID: IDAfBZy2D5p
2017-11-22 19:01:11 -05:00
Markus Stange
bee34e765d
Bug 1417709 - Add system colors called "-moz-mac-vibrant-titlebar-light/dark" for use with -moz-font-smoothing-background-color. r=emilio
...
MozReview-Commit-ID: 9FbRlPvrLMX
2017-11-16 11:50:09 -05:00
Markus Stange
4fd7932c2b
Bug 1417709 - Add -moz-appearance: -moz-mac-vibrant-titlebar-light/dark. r=emilio
...
MozReview-Commit-ID: 2PMe8KTt5Wl
2017-11-16 11:36:22 -05:00
Cameron McCormack
fea3ddf90b
Bug 1419709 - Move a few nsStyleStructID-related static methods out of nsRuleNode.h r=emilio
...
MozReview-Commit-ID: GyEMmvlH4mh
2017-11-22 18:08:33 +08:00
Margareta Eliza Balazs
8fffa95b70
Backed out 5 changesets (bug 1417709) for failing X in devtools/shared/tests/unit/test_css-properties-db.js r=backout on a CLOSED TREE
...
Backed out changeset 5670c9582add (bug 1417709)
Backed out changeset 50f0febe43a0 (bug 1417709)
Backed out changeset 29e6c0d82193 (bug 1417709)
Backed out changeset e3a6c5b74595 (bug 1417709)
Backed out changeset a0fe569c86c0 (bug 1417709)
2017-11-23 01:17:07 +02:00
Markus Stange
8056db9473
Bug 1417709 - Add system colors called "-moz-mac-vibrant-titlebar-light/dark" for use with -moz-font-smoothing-background-color. r=emilio
...
MozReview-Commit-ID: 9FbRlPvrLMX
2017-11-16 11:50:09 -05:00
Markus Stange
185739d929
Bug 1417709 - Add -moz-appearance: -moz-mac-vibrant-titlebar-light/dark. r=emilio
...
MozReview-Commit-ID: 2PMe8KTt5Wl
2017-11-16 11:36:22 -05:00
Daniel Holbert
8fea3c215f
Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame
...
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
For every file that is modified in this patch, the changes are as follows:
(1) The patch changes the file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line
(2) The patch deletes any blank lines between the mode line & the MPL
boilerplate comment.
(3) If the file previously had the mode lines and MPL boilerplate in a
single contiguous C++ comment, then the patch splits them into
separate C++ comments, to match the boilerplate in the coding style.
MozReview-Commit-ID: EuRsDue63tK
2017-10-27 10:33:53 -07:00
Ting-Yu Lin
a78b44acbc
Bug 1281101 Part 1 - Remove MOZ_ENABLE_MASK_AS_SHORTHAND from layout code. r=cjku
...
MozReview-Commit-ID: HWq2IOLsflD
2017-09-21 17:36:57 +08:00
Markus Stange
5f25ba2f0a
Bug 1387594 - Add system colors for use in conjunction with -moz-font-smoothing-background-color and vibrant -moz-appearances. r=dbaron
...
MozReview-Commit-ID: IxXZwONxy41
2017-09-14 23:09:48 +02:00
Emilio Cobos Álvarez
2fb463ee98
Bug 1387410: Stop the grid shorthand from resetting grid-gap properties. r=heycam
...
MozReview-Commit-ID: GxU9YuAUc00
2017-09-08 10:10:11 +02:00
Xidorn Quan
bd24dfd6b4
Bug 1393189 part 4 - Remove kListStyleKTable and CSS keywords only used in this table. r=dholbert
...
MozReview-Commit-ID: IM0cvCSV6tR
2017-08-29 15:41:37 +10:00
Nazım Can Altınova
5206166eb1
Bug 1344314 - stylo: Add an aliasid field to CSS_PROP_ALIAS macro and include them to bindings r=manishearth
...
This field will be needed for servo side alias pref handling on the
next patch.
MozReview-Commit-ID: LyH2UwZEvMy
2017-08-12 14:37:19 -07:00
hardik tyagi
e3bd4cc789
Bug 1389862: Change NS_STYLE_CONTENT macro definitions to scoped enum class StyleContent; r=manishearth
...
MozReview-Commit-ID: 4ojiXrCNRIN
2017-08-14 23:56:24 -07:00