Xidorn Quan
f01808990f
Bug 1452542 part 6 - Replace uses of PythonCSSProps.h with the data file generated from Servo. r=froydnj
...
Some content in Makefile.in is removed because after this change, the
scripts no longer invoke the preprocessor and thus don't have unknown
dependencies anymore outside what is provided in their inputs array.
The order of exports.PREFERENCES in properties-db changes because the
data file has shorthands placed after longhands. The only usage of it
is in test_css-properties-db.js which doesn't care about the order.
MozReview-Commit-ID: AMjzTRf2HYN
2018-04-17 14:40:12 +10:00
Xidorn Quan
7d72d24455
Bug 1452542 part 2 - Sort nsCSSPropAliasList.h in alphabetic order so that we can list them in Servo side. r=dholbert,emilio
...
MozReview-Commit-ID: GmrjJHI8fqw
2018-04-11 13:42:13 +10:00
Xidorn Quan
0aa00a5938
Bug 1452542 part 1 - Fix the order in nsCSSPropList.h. r=emilio
...
MozReview-Commit-ID: GnzDsJb7KlB
2018-04-11 13:38:44 +10:00
Andreea Pavel
09076bc3fd
Backed out 7 changesets (bug 1452542) for failing toolkit/content/tests/chrome/test_arrowpanel.xul on a CLOSED TREE
...
Backed out changeset f206acff283f (bug 1452542)
Backed out changeset be97e652391f (bug 1452542)
Backed out changeset 4d3a028edaed (bug 1452542)
Backed out changeset 5619bba37cdd (bug 1452542)
Backed out changeset e83a797bdc61 (bug 1452542)
Backed out changeset 255e2feff19f (bug 1452542)
Backed out changeset fac55b1a0706 (bug 1452542)
2018-04-18 20:10:35 +03:00
Xidorn Quan
f7450b84c5
Bug 1452542 part 6 - Replace uses of PythonCSSProps.h with the data file generated from Servo. r=froydnj
...
Some content in Makefile.in is removed because after this change, the
scripts no longer invoke the preprocessor and thus don't have unknown
dependencies anymore outside what is provided in their inputs array.
The order of exports.PREFERENCES in properties-db changes because the
data file has shorthands placed after longhands. The only usage of it
is in test_css-properties-db.js which doesn't care about the order.
MozReview-Commit-ID: AMjzTRf2HYN
2018-04-17 14:40:12 +10:00
Xidorn Quan
9134e6a4bd
Bug 1452542 part 4 - Have ENABLED_IN flags in nsCSSPropList.h match those in Servo side. r=emilio
...
MozReview-Commit-ID: 48t5u1D5rZX
2018-04-11 13:46:08 +10:00
Xidorn Quan
65d910bf90
Bug 1452542 part 2 - Sort nsCSSPropAliasList.h in alphabetic order so that we can list them in Servo side. r=dholbert,emilio
...
MozReview-Commit-ID: GmrjJHI8fqw
2018-04-11 13:42:13 +10:00
Xidorn Quan
e85572cf5e
Bug 1452542 part 1 - Fix the order in nsCSSPropList.h. r=emilio
...
MozReview-Commit-ID: GnzDsJb7KlB
2018-04-11 13:38:44 +10:00
Xidorn Quan
082c495ca6
Bug 1453180 - Remove -x-system-font. r=emilio,heycam
...
We need to add the system font keywords separately in InspectorUtils so
that we don't regress values listed in inspector.
MozReview-Commit-ID: 7a8CKGeSn4K
2018-04-11 10:12:16 +10:00
Emilio Cobos Álvarez
a3cfd338ba
Bug 1105111: Regenerate the devtools db on a CLOSED TREE. r=me
...
MozReview-Commit-ID: HEWjPaydHOT
2018-04-02 07:44:05 +02:00
Mats Palmgren
4e1a6887c7
Bug 1398537 part 4 - [css-multicol] Implement percentages for 'column-gap' (automated update of devtools).
2018-04-02 01:57:01 +02:00
Jonathan Kew
d809e28c5f
Bug 1447163 - Enable support for OpenType variation fonts. r=dbaron
2018-03-23 10:35:28 +00:00
Margareta Eliza Balazs
aa651d2a12
Backed out changeset bfed80b95dfb (bug 1447163) for Wr4 failures in /css/css-fonts/variations/variable-box-font.html on a CLOSED TREE
2018-03-23 00:17:08 +02:00
Jonathan Kew
b53c29a8f5
Bug 1447163 - Enable support for OpenType variation fonts. r=dbaron
2018-03-22 20:42:54 +00: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
3fab731fa0
Bug 1435692 - patch 3 - (Auto-generated) Run "mach devtools-css-db" to update devtools property database. r=jwatt
2018-03-03 22:12:12 +01:00
Florian Quèze
753d731eec
Bug 1433175 - enable the use-cc-etc eslint rule, r=Standard8.
2018-02-28 18:51:35 +01:00
Emilio Cobos Álvarez
602622b10a
Bug 1439837: Regenerate the devtools css database. r=me
...
MozReview-Commit-ID: 2zc0WsXbIlY
2018-02-22 10:51: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
Florian Quèze
c5f15a4700
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01: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
210900f600
Bug 1255380 - fix getCSSValuesForProperty for "content" property; r=xidorn
...
This changes getCSSValuesForProperty to return the correct values for
the "content" property.
MozReview-Commit-ID: 2F5LQPbSIFs
2018-01-25 16:55:28 -07:00
Sebastian Hengst
0d326c178e
merge mozilla-inbound to mozilla-central. r=merge a=merge
2018-01-31 00:22:27 +02:00
Kris Maglione
0bb74efdf1
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Tom Tromey
09466f4ba8
Bug 1255379 - fix getCSSValuesForProperty for clip and clip-path; r=xidorn
...
This fixes getCSSValuesForProperty for clip and clip-path.
Although clip is deprecated, it seemed harmless to fix it as well;
when it is removed this code will also be readily found and removed.
It wasn't clear to me if setting the keyword table for clip-path in
nsCSSPropList.h would be ok, so I added a special case in
InspectorUtils.
MozReview-Commit-ID: Ghawr17HjKk
2018-01-22 13:26:14 -07:00
Tom Tromey
4431adedd6
Bug 1255378 - fix getCSSValuesForProperty for box-shadow and text-shadow; r=heycam,jryans
...
This fixes InspectorUtils.getCSSValuesForProperty to return the
correct values for box-shadow and text-shadow. It also takes a small
step toward the goal of getting rid of
InspectorUtils.cpp:PropertySupportsVariant, in favor of having all
variants listed in nsCSSPropList.h.
MozReview-Commit-ID: Dwh5s0IvYTX
2018-01-17 10:34:34 -07:00
Tom Tromey
2345fcb28a
Bug 1255402 - fix getCSSValuesForProperty for object-position and perspective-origin; r=heycam
...
getCSSValuesForProperty was not including "calc" for object-position
and perspective-origin. Fixed by updating the variants in
nsCSSPropList.h.
MozReview-Commit-ID: 8STipRhqFwT
2018-01-16 10:52:28 -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
Tom Tromey
d010fd6e1c
Bug 1255384 - fix getCSSValuesForProperty for counter-*; r=heycam
...
This bug notes that getCSSValuesForProperty does not mention the
"none" value for counter-increment and counter-reset. This fixes the
problem by mentioning the variants in the entries in nsCSSPropList.h.
MozReview-Commit-ID: HpZIMIIejHc
2018-01-12 13:57:58 -07:00
Tom Tromey
23dee0383c
Bug 1255401 - fix getCSSValuesForProperty result for "quotes" property; r=heycam
...
It seemed valid to simply set the expected variants in
nsCSSPropList.h; other properties (e.g., align-content) do this as
well.
MozReview-Commit-ID: HVZGOofkwi1
2018-01-10 14:08:13 -07:00
Tom Tromey
5f73410afb
Bug 1255401 - fix values allowed for "all" property; r=heycam
...
The "all" property in the devtools CSS database included all possible
property values; however only a few are truly appropriate. This patch
adds a special case for "all" to
InspectorUtils::GetCSSValuesForProperty to fix this.
MozReview-Commit-ID: HEnrvCJylHI
2018-01-10 11:48:28 -07:00
Cameron McCormack
d9f8f12aa7
Bug 1427419 - Part 27: Remove inIDOMUtils. r=bz
...
And rename inDOMUtils.cpp to InspectorUtils.cpp.
MozReview-Commit-ID: IIqo25MHsQE
2018-01-11 12:38:01 +08:00
Cameron McCormack
f85f31da3b
Bug 1427419 - Part 23: Move inIDOMUtils.getCSSPseudoElementNames to InspectorUtils. r=bz
...
MozReview-Commit-ID: A6FhXc2mJm1
2018-01-11 12:38:01 +08:00
Neerja Pancholi
99b3f44ba8
Bug 1417725 - (Gecko) Add -moz-column-span alias for column-span property. r=heycam on a CLOSED TREE
...
MozReview-Commit-ID: G4a0UTVCw9o
2017-11-15 16:39:21 -08: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
4ebe7a15f6
Bug 1422839 part 3 - Add internal overflow-clip-box-block/-inline properties and make overflow-clip-box a shorthand (automated devtools update). r=dholbert
...
MozReview-Commit-ID: 14IsjC7MdcA
2017-12-05 21:08:50 +01:00
Ting-Yu Lin
ce7a0e0ebb
Bug 1265343 Part 1 - Add shape-image-threshold to style system. r=heycam
...
devtools/shared/css/generated/properties-db.js is generated by running
"./mach devtools-css-db"
MozReview-Commit-ID: 1U4yoQTDwxi
2017-11-27 15:01:25 +08: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
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
arthur.iakab
24a05be4b0
Backed out changeset 39a68df1359c (bug 1419355) for failing chrome's toolkit/content/tests/chrome/test_arrowpanel.xul on OS X on a CLOSED TREE
2017-11-21 23:36:54 +02:00
Emilio Cobos Álvarez
178deda479
Bug 1419355: Add a test for non-content-accessible properties, and make Stylo and Gecko consistent. r=xidorn
...
MozReview-Commit-ID: 2n773xkmAqX
2017-11-21 11:57:17 +01:00