Commit Graph
168 Commits
Author SHA1 Message Date
Emilio Cobos Álvarez 7a873f6762 Bug 1492958 - Update the devtools property database. 2018-11-12 13:47:45 +01:00
Margareta Eliza Balazs 9eacffbd58 Backed out 5 changesets (bug 1492958) for bc failures in browser/base/content/test/static/browser_parsable_css.js CLOSED TREE
Backed out changeset d7c8793ee054 (bug 1492958)
Backed out changeset e59edfbbd327 (bug 1492958)
Backed out changeset 5e643bc2e17b (bug 1492958)
Backed out changeset 59cf251c1a59 (bug 1492958)
Backed out changeset edc955448df6 (bug 1492958)
2018-11-12 14:36:43 +02:00
Emilio Cobos Álvarez f46393b0e8 Bug 1492958 - Update the devtools property database. 2018-11-12 11:51:53 +01:00
Gurzau Raul 412b8e6f9c Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-09 07:46:56 +02:00
Mats Palmgren 7305dbe3dd Bug 1501506 - Add -webkit-appearance:progress-bar and make that the default for <progress> for compatibility with other UAs. r=jwatt
Keep our old 'progressbar' as an alias for now, but unship
'progresschunk' by restricting it to UA/chrome sheets only.
Unship 'progresschunk-vertical' by removing it since it's
not used internally for anything.
2018-11-09 04:25:56 +01:00
Mats Palmgren 90382edb39 Bug 1501483 - Add -webkit-appearance:meter and make that the default for <meter> for compatibility with other UAs. r=jwatt
Keep our old value 'meterbar' as an alias for now, but unship 'meterchunk'
by restricting it to UA/chrome sheets only.
2018-11-09 04:25:56 +01:00
Emilio Cobos Álvarez 71a4ec791d Bug 1505786 - Implement overflow-wrap: anywhere. r=xidorn,jfkthame
Per https://github.com/w3c/csswg-drafts/issues/2682

Differential Revision: https://phabricator.services.mozilla.com/D11328
2018-11-08 22:39:34 +00:00
Ting-Yu Lin 5482102065 Bug 1504387 - Remove preference "layout.css.shape-outside.enabled". r=bradwerth,xidorn
shape-outside, shape-margin, shape-image-threshold have been shipped in Firefox
62. We can remove the preference.

The change in devtools/shared/css/generated/properties-db.js is generated by
"./mach devtools-css-db"

The actual shape-image CORS mode tests in file_shape_outside_CORS.html are
moved into test_shape_outside_CORS.html because we don't need the <iframe>
trick to enable the feature.

Differential Revision: https://phabricator.services.mozilla.com/D10804
2018-11-05 15:27:36 +00:00
Cameron McCormack d0dcb3da7d Bug 1496617 - Part 1: Support unprefixed image-rendering:crisp-edges r=firefox-style-system-reviewers,emilio
For now, we keep supporting the prefixed version, since there are examples/instructions
on the Web that don't include an unprefixed value.

Differential Revision: https://phabricator.services.mozilla.com/D10451
2018-11-01 01:35:26 +00:00
Boris Chiou 5020af6901 Bug 1496619 - Part 1: Drop frames() timing function r=birtles
frames() timing function was removed from the spec, so we drop it.
Besides, some devtool tests are removed because they use frame(). I will
add them back by using new step function later.

Differential Revision: https://phabricator.services.mozilla.com/D9309
2018-10-26 18:03:24 +00:00
Mark Banner 3d6aaad3f5 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389
2018-10-19 12:55:39 +00:00
Diego Pino Garcia 99514d1cc2 Bug 1498148 - Implement text-transform: full-size-kana. r=xidorn 2018-10-14 09:42:24 +11:00
Noemi Erli 7168ba1159 Backed out changeset a00b402fb8e8 (bug 1498148) for Linting failure in builds/worker/checkouts/gecko/tools/lint/wpt.yml CLOSED TREE 2018-10-14 00:12:12 +03:00
Diego Pino Garcia 777eeb5c59 Bug 1498148 - Implement text-transform: full-size-kana. r=xidorn 2018-10-13 05:03:00 +03:00
Xidorn Quan ea51602ee5 Bug 1494501 - Rename pref "layout.css.scrollbar-colors.enabled" to "layout.css.scrollbar-color.enabled". r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D7030
2018-09-27 00:38:16 +00:00
Xidorn Quan a6b0bb22a8 Bug 1492012 - Enable scrollbar-color and scrollbar-width by default. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D6872
2018-09-26 03:30:32 +00:00
Emilio Cobos Álvarez b85071edf5 Bug 1492567 - Back out bug 1481866. r=dbaron
Summary:
The behavior the WG proposed is way more subtle than what that bug implements,
including:

 * Implementing two logical overflow longhands.
 * Expanding the overflow shorthand to different longhands depending on the
   syntax of that.

Meanwhile, Blink hasn't done the swap and will ship the same behavior that we
shipped in Firefox 61 (bug 1453148), that is, overflow-x, then overflow-y.

So I think lacking a clear way forward we should revert this change and preserve
our shipped behavior.

Reviewers: dbaron!

Tags: #secure-revision

Bug #: 1492567

Differential Revision: https://phabricator.services.mozilla.com/D6317
2018-09-20 01:27:55 +02:00
Xidorn Quan 73fdf6c586 Bug 1483075 - Merge the two scrollbar color properties into scrollbar-color. r=heycam,hiro
Differential Revision: https://phabricator.services.mozilla.com/D6115
2018-09-19 05:33:12 +00:00
Boris Chiou dbba63a0f0 Bug 1246764 - Part 2: Define path() for clip-path. r=emilio
For now, |clip-path: path()| is chrome-only, and not for shape-outside,
so we only implement the parser for clip-path. Besides, I didn't put
path() in BasicShape because path() doesn't use the reference box to
resolve the percentage or keywords (i.e. SVG path only accept floating
point or integer number as the css pixel value). Therefore, I add it into
ShapeSource, instead of BasicShape.

Differential Revision: https://phabricator.services.mozilla.com/D3633
2018-08-24 11:37:53 -07:00
Boris Chiou 2ff8effaea Bug 1429298 - Part 7: Tests. r=emilio
In wpt, now we support "offset-path: none | path()", so parsing none or
path function should be correct. Animations which animate "from none"
or "to none" will pass because we could serialize "none", even if we
don't support animations on offset-path.

Differential Revision: https://phabricator.services.mozilla.com/D2969
2018-08-21 22:41:46 -07:00
Boris Chiou aeb006d62c Bug 1429298 - Part 2: Define offset-path and implement it in style system. r=emilio
Define OffsetPath & SVGPathData on the servo-side, and StyleMotion &
StyleSVGPath on the gecko-side. We parse the SVG Path string into a
vector of PathCommand. To build the gfx::Path, we will convert it into
gfx::Path later in a different patch.

The basic flow is:
* Parse SVG Path String into SVGPathData (in Rust).
* Use cbindgen to make sure the layout of PathCommand and StylePathCommand,
  and then set the Box[PathCommand] into nsTArray<StylePathCommand>.
* Try to convert nsTArray<StylePathCommand> into gfx::Path. (This part
  will be implemented in a different patch.)

Finally, we use the gfx::Path to create a motion path transform.
The layout implementation is in the later patch.

Differential Revision: https://phabricator.services.mozilla.com/D2963
2018-08-21 22:41:38 -07:00
Xidorn Quan 6367ef83f6 Bug 1475033 part 3 - Add scrollbar-width property. r=heycam
MozReview-Commit-ID: CmCbaZosUrU
2018-08-01 14:13:41 +10:00
L. David Baron cb835eba9b Bug 1481866: Swap order of values in 'overflow' shorthand property. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D3069
2018-08-10 02:20:53 +00:00
Tiberius Oros 36a1369d53 Merge inbound to mozilla-central. a=merge 2018-08-09 13:02:05 +03:00
Xidorn Quan 6642bbdfe4 Bug 1464786 - Implement flow-relative values for resize property. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D2908
2018-08-08 23:40:06 +00:00
Daniel Varga 30e730e116 Merge mozilla-central to mozilla inbound. a=merge 2018-08-09 01:10:56 +03:00
Xidorn Quan a60f36a38e Bug 1481781 followup - Fixup order in properties-db.js on a CLOSED TREE. 2018-08-08 23:20:04 +10:00
Jonathan Watt 4cd8d5ae9c Bug 1480073 pt 2. Enable the '-webkit-appearance' alias for '-moz-appearance' for EARLY_BETA_OR_EARLIER. r=emilio 2018-08-01 12:01:33 +01:00
Emilio Cobos Álvarez f76bafd53e Bug 1480043: Remove the concept of 'canonical' pseudos. r=xidorn
We only have this so that ::-moz-placeholder keeps serializing as
::-moz-placeholder, but I don't think anybody really cares.

Edge aliases ::-webkit-input-placeholder to ::-ms-input-placeholder at parse
time as well, as can be seen in:

```
let s = document.createElement('style');
s.innerHTML = `input::-webkit-input-placeholder { color: red };`;
document.body.appendChild(s);
document.body.innerHTML = s.sheet.cssRules[0].cssText;
```

And I think this is more consistent with what we do for CSS properties that are
aliases.

Differential Revision: https://phabricator.services.mozilla.com/D2595

MozReview-Commit-ID: 3ImDWamJhxh
2018-08-01 15:57:47 +02:00
Jonathan Watt 2d83c66620 Bug 1428676 pt 1. Add a '-moz-menulist-button' value to '-moz-appearance'. r=emilio
The '-moz-menulist-button' value currently behavies identically to the
'menulist-button' value.  This is not implemented as an alias because later
patches in this patch series will change the behavior of our pre-existing
'menulist-button' value to more closely match what Chrome does.
2018-06-19 20:12:45 +01:00
shindli 08d66172c3 Backed out 3 changesets (bug 1428676) for bc failures in browser/base/content/test/static/browser_parsable_css.js on a CLOSED TREE
Backed out changeset 6ba5975115fc (bug 1428676)
Backed out changeset 7f1270a9ec3d (bug 1428676)
Backed out changeset 662bfc31a950 (bug 1428676)
2018-07-31 19:30:46 +03:00
Jonathan Watt 79df9214f6 Bug 1428676 pt 1. Add a '-moz-menulist-button' value to '-moz-appearance'. r=emilio
The '-moz-menulist-button' value currently behavies identically to the
'menulist-button' value.  This is not implemented as an alias because later
patches in this patch series will change the behavior of our pre-existing
'menulist-button' value to more closely match what Chrome does.
2018-06-19 20:12:45 +01:00
Emilio Cobos Álvarez 32bb029c5c Bug 1478990: Make NonCustomPropertyId <-> nsCSSPropertyId conversions fast. r=xidorn
We have a different order in nsCSSPropertyId for no good reason. The only
invariant there is that longhands come before shorthands, and shorthands before
aliases.

Luckily that's also an invariant that NonCustomPropertyId has, so we can reuse
them.

Differential Revision: https://phabricator.services.mozilla.com/D2463

MozReview-Commit-ID: 1hsQu6hmqiN
2018-07-30 12:51:19 +02:00
Emilio Cobos Álvarez a631ec6689 Bug 1471838: Update the properties database. r=me CLOSED TREE
MozReview-Commit-ID: IXeZmnElMHU
2018-07-12 07:29:09 +02:00
Cameron McCormack cebd37ab1f Bug 1473450 - Remove angle values from image-orientation. r=emilio
MozReview-Commit-ID: FB74ILJM6Fm
2018-07-05 12:04:58 +10:00
Andreea Pavel 428a0800b5 Backed out 2 changesets (bug 1471838) for failing css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-border-box-border-radius-005.html
Backed out changeset b21c5080232a (bug 1471838)
Backed out changeset 5e99a3c65b2f (bug 1471838)
2018-07-05 10:44:45 +03:00
Emilio Cobos Álvarez 544e8ab10f Bug 1471838: Update the properties database. r=me CLOSED TREE
MozReview-Commit-ID: IXeZmnElMHU
2018-07-05 05:46:56 +02:00
Gerald Squelart cdceb7bc1b Bug 1459524 - Removed layout.css.all-shorthand.enabled pref - r=heycam
The 'all' shorthand has shipped a long time ago, so this pref is not needed
anymore.

MozReview-Commit-ID: GND8qSVAfCG
2018-06-28 14:51:38 +10:00
Emilio Cobos Álvarez 7f975aca45 Bug 1464782: Regenerate the devtools db. r=me
MozReview-Commit-ID: FJxRDsDFsaU
2018-06-27 18:03:10 +02:00
Cosmin Sabou e508f7bd05 Merge inbound to central. a=merge 2018-06-21 04:16:40 +03:00
Emilio Cobos Álvarez 44def49ade Bug 1468651: followup: Regenerate the devtools database on a CLOSED TREE. r=me
My last version of the patch changes the order style structs get rendered (in
particular inherited_svg was moved up for consistency).

MozReview-Commit-ID: 9GVAZvNwVhd
2018-06-20 13:26:33 +02:00
Xidorn Quan 87d149f551 Bug 1463917 part 1 - Add scrollcorner to -moz-appearance so that widget can render it. r=heycam
MozReview-Commit-ID: 1Za22ifONfG
2018-05-11 10:12:17 +10:00
Jonathan Watt 9c9651f18a Bug 1429713 part 1 - Add a -webkit-appearance alias for -moz-appearance (behind a pref). r=emilio 2018-05-25 10:44:17 -07:00
Bogdan Tara 63494ef4e8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-05 12:33:18 +03:00
Emilio Cobos Álvarez 41fa2aa054 Bug 1419695: followup: Update the properties database for devtools. r=me on a CLOSED TREE
MozReview-Commit-ID: 4oY43eSivbG
2018-06-04 17:54:12 +02:00
Xidorn Quan b04a3337ef Bug 1465628 part 4 - Update test to check more stuff. r=tromey
This change adds a preferences check based on the change before.

It also removes the skipping of "all" because we generate subproperties
of "all" shorthand in a platform-neutral way. That list shouldn't be
affected by any preference.

MozReview-Commit-ID: LJyxGXJxvfW
2018-05-31 15:54:08 +10:00
Xidorn Quan fa44d910f2 Bug 1465628 part 3 - Generate preference list from inspector utils. r=tromey
MozReview-Commit-ID: 5EK7Vhn0rrG
2018-05-31 15:36:33 +10:00
Dorel Luca 98ba7a517a Backed out 4 changesets (bug 1465628) for Eslint failure. CLOSED TREE
Backed out changeset 04f276eb2f0e (bug 1465628)
Backed out changeset e9cdff122793 (bug 1465628)
Backed out changeset 6832baa28e3f (bug 1465628)
Backed out changeset e5ac0c7a9fb4 (bug 1465628)
2018-06-05 04:00:30 +03:00
Xidorn Quan 891e9f395b Bug 1465628 part 4 - Update test to check more stuff. r=tromey
This change adds a preferences check based on the change before.

It also removes the skipping of "all" because we generate subproperties
of "all" shorthand in a platform-neutral way. That list shouldn't be
affected by any preference.

MozReview-Commit-ID: LJyxGXJxvfW
2018-05-31 15:54:08 +10:00
Xidorn Quan 14e7ac37cf Bug 1465628 part 3 - Generate preference list from inspector utils. r=tromey
MozReview-Commit-ID: 5EK7Vhn0rrG
2018-05-31 15:36:33 +10:00