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
Markus Stange
20d02b9b24
Bug 1387594 - Add a chrome-only CSS property called -moz-font-smoothing-background-color. r=dbaron
...
This property accepts a color. It's inherited and defaults to transparent.
Its value is respected on macOS when rendering text into transparent pixels.
This property should be used for text that is placed on top of "vibrant"
-moz-appearances, in order to achieve high quality text rendering for such text.
In most cases, the property should be set to a named system color; an upcoming
patch in this patch series will add one such color for each vibrant
-moz-appearance value.
However, in some cases it can also be useful to use a custom color: If text
is rendered into an intermediate surface, for example because a mask is applied
to it, and the background color behind that intermediate surface is known, then
this property can be set to that background color in order to achieve subpixel
AA for the text inside the mask effect. In that case, the font smoothing
background color is respected because text is rendered into transparent pixels
*inside the intermediate surface*. At the moment, the only example of that use
case is the text of the active tab in the state where the text is overflowing.
MozReview-Commit-ID: D98qQnxoFaq
2017-09-14 23:09:46 +02:00
Emilio Cobos Álvarez
1e88dae809
Bug 1387410: Regenerate the properties database. r=heycam
...
MozReview-Commit-ID: 5iTjXLLruPJ
2017-09-08 10:10:12 +02:00
Markus Stange
539f07616a
Bug 1370034 - Add CSS properties -moz-window-transform and -moz-window-transform-origin, style system parts (excluding stylo). r=dbaron
...
MozReview-Commit-ID: BlLMswF0bKO
2017-06-19 01:44:22 -04:00
Markus Stange
b8c33eb763
Bug 1370034 - Add -moz-window-opacity property, style system parts (excluding stylo). r=dbaron
...
MozReview-Commit-ID: J2SPMzh0I9C
2017-06-18 21:04:40 -04:00
Cameron McCormack
95368ca21c
Backout bug 1291457 and bug 1370034 for bustage.
2017-06-19 13:55:15 +08:00
Markus Stange
ec6ecdb465
Bug 1370034 - Add CSS properties -moz-window-transform and -moz-window-transform-origin, style system parts (excluding stylo). r=dbaron
...
MozReview-Commit-ID: BlLMswF0bKO
2017-06-19 00:21:16 -04:00
Markus Stange
39724e9b46
Bug 1370034 - Add -moz-window-opacity property, style system parts (excluding stylo). r=dbaron
...
MozReview-Commit-ID: J2SPMzh0I9C
2017-06-18 21:04:40 -04:00
Mats Palmgren
bd90393cc1
Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
...
MozReview-Commit-ID: IbwWM0FL6HF
2017-05-21 17:15:00 +08:00