gecko-dev/layout/inspector
Xidorn Quan 5050b395ae Bug 1434130 part 13 - Use Servo code to back GetCSSValuesForProperty. r=emilio,gl
This causes various changes to properties-db.js and also many devtools
tests get updated.

There are two changes affect multiple tests:

* `calc` gets removed from everywhere. We never have it listed in all
  properties which deserve it, and doing so without much false positive
  (i.e. properties don't deserve but get it) can be pretty tricky.
  So they are just removed for now.

* The complete color keyword list is no longer included, and instead,
  "COLOR" is prepended to the list directly. We can probably remove
  the related code which replaces color keywords with "COLOR" from
  devtools. Note that, with stylo enabled, the list is already unrelated
  to what the parsing code uses. We should eventually re-enable the
  disabled test here after we can get the color list from cssparser
  in bug 1456715.

Other changes to properties-db.js seem to be valid, some of them also
affect tests:

* `{-webkit-,}align-{content,items,self}` get `first baseline`, `safe`,
  `unsafe`, and lose `left` and `right`.

* `{-moz-,-webkit-,}{animation,transition}{,-timing-function}` has a
  new `frame` keyword which is a function value in `<timing-function>`.

* `{background,{-webkit-,}mask}-position-x` lose `top` and `bottom`, and
  correspondingly `{background,{-webkit-,}mask}-position-y` lose `left`
  and `right`.  They don't deserve those values.

* `{background,{-webkit-,}mask}{,-size}` get `auto`.

* `border` shorthand loses `<image>` values as well as other keyword
  values for `border-image-*` subproperties, because they aren't parsed
  on the shorthand.

* `{-moz-,}border-image{,-width}` get `auto`.

* `-moz-context-properties` gets `none`.

* `cursor` get some -moz-prefixed values as well as `url`.

* `fill` and `stroke` get the color keywords.

* `{-webkit-,}filter` get the keywords and function names.

* `font` shorthand loses values from many of `font-variant-*` properties
  because they are not parsed there.

* `font-variant` and `font-variant-alternates` get function values of
  the longhand.

* `font-variant-{east-asian,ligatures,numeric}` get `normal`, and
  `font-variant-ligatures` in addition gets `none`.
  `font-{feature,variation}-settings` also get `normal`.

* `grid` and `grid-template-{areas,columns,rows}` get `none`.

* `grid`, `grid-template`, and `grid-template-{columns,rows}` get
  `auto`, `fit-content`, `minmax`, and `repeat`.

* `grid-auto-{columns,rows}` get `auto`, `fit-content` and `minmax`.

* `-moz-image-region` gets `auto` and `rect`.

* `{-webkit-,}justify-content` lose `baseline`, `last baseline`, and
  get `safe` and `unsafe`.

* `{justify,place}-items` get `first baseline`, `legacy`, `safe`,
  `unsafe` and lose `auto`.

* `{justify,place}-self` and `place-content` get `first baseline`,
  `safe`, and `unsafe`.

* `outline{,-style}` get `hidden`.

* `scroll-snap-coordinate` gets `none`, and `scroll-snap-points-{x,y}`
  gets `none` and `repeat`.

* `shape-outside`, `text-emphasis{,-style}` get all the keyword values
  and function names they deserve.

* `stroke-dasharray` gets `none`.

* `text-combine-upright` drops `digits` which we never implemented.

* `{-moz-,-webkit-,}transform` and `-moz-window-transform` get their
  transform function list. `accumulatematrix` and `interpolatematrix`
  aren't real CSS value but they have `#[css(function)]` specified.
  We should probably remove them at some point.

* `will-change` gets `auto`.

* All properties accept `<image>` value now gets -webkit-prefixed
  gradient function names, including
  * `background{,-image}`,
  * `{-moz-,-webkit-,}border-image{,-source}`, and
  * `{-webkit-,}mask{,-image}`.

MozReview-Commit-ID: E7Y0CFUFYgW

--HG--
extra : source : bab732c8c531cfca1bcd233f769c25bb2e373773
2018-04-29 09:03:31 +10:00
..
tests Bug 1434130 part 13 - Use Servo code to back GetCSSValuesForProperty. r=emilio,gl 2018-04-29 09:03:31 +10:00
InspectorFontFace.cpp Bug 1449087 part 2 - Use Servo data to back @font-face rule. r=emilio 2018-04-04 08:42:10 +10:00
InspectorFontFace.h Bug 1449087 part 2 - Use Servo data to back @font-face rule. r=emilio 2018-04-04 08:42:10 +10:00
InspectorUtils.cpp Bug 1434130 part 13 - Use Servo code to back GetCSSValuesForProperty. r=emilio,gl 2018-04-29 09:03:31 +10:00
InspectorUtils.h Bug 1452143: Make InspectorUtils.getAllStyleSheets handle Shadow DOM, and also optionally not return UA / User sheets. r=bholley 2018-04-17 11:23:36 +02:00
ServoStyleRuleMap.cpp Bug 1425759: Make Shadow DOM not use XBL anymore. r=smaug,xidorn 2018-02-27 12:39:35 +01:00
ServoStyleRuleMap.h Bug 1425759: Make Shadow DOM not use XBL anymore. r=smaug,xidorn 2018-02-27 12:39:35 +01:00
inDeepTreeWalker.cpp Bug 1447389 - Remove nsIDOMNodeList. r=bz 2018-04-25 23:01:30 +02:00
inDeepTreeWalker.h Bug 1427419 - Part 27: Remove inIDOMUtils. r=bz 2018-01-11 12:38:01 +08:00
inIDeepTreeWalker.idl Bug 1434819 part 9. Remove nsIDOMNodeFilter. r=qdot 2018-02-01 14:26:13 -05:00
inLayoutUtils.cpp Bug 1417354 - Introduce nsIDocument::GetPresContext(). r=smaug 2018-02-21 07:00:10 +09:00
inLayoutUtils.h Bug 1427419 - Part 21: Move content state methods from inIDOMUtils to InspectorUtils. r=bz 2018-01-11 12:38:01 +08:00
moz.build Bug 1436413 - Remove inDOMView as it is no longer used. r=bz 2018-02-07 15:46:30 +01:00