Граф коммитов

593724 Коммитов

Автор SHA1 Сообщение Дата
Daisuke Akatsuka b3e3346202 Bug 1453032 - Part 1: Add a check in setSelectedNode to avoid reselecting the nodeFront if it is already selected. r=gl
MozReview-Commit-ID: 3ZafsNbpEPQ

--HG--
extra : rebase_source : 0771911346d262bedb5f8df5a5c036b3cf6d8118
2018-04-26 10:23:23 +09:00
Daisuke Akatsuka b6cc30f845 Bug 1453010 - Part 4: Add test for locking highlighting. r=gl
This patch depends on following PR.
https://github.com/devtools-html/devtools-core/pull/1028

MozReview-Commit-ID: 5IAWzZ3YTyg

--HG--
extra : rebase_source : 29bc78902015d5eee73743507f04864a978247b9
2018-04-28 10:48:23 +09:00
Daisuke Akatsuka 6c759aec9e Bug 1453010 - Part 3: Select a node by clicking on dom node element in AnimationTargetCompositor. r=gl
This patch depends on following PR.
https://github.com/devtools-html/devtools-core/pull/1028

MozReview-Commit-ID: HNW90OGsX3O

--HG--
extra : rebase_source : f7d72648ddb02bcfad5200672fd18e2cf1a0254a
2018-04-27 15:19:48 +09:00
Daisuke Akatsuka 4479b4112e Bug 1453010 - Part 2: Change the title of inspect icon. r=gl
This patch depends on following PR.
https://github.com/devtools-html/devtools-core/pull/1028

MozReview-Commit-ID: BizVdPBa4IA

--HG--
extra : rebase_source : fead3fd68b6dc34000008d68edf641cd17df0f3d
2018-04-27 15:19:45 +09:00
Daisuke Akatsuka aca0528d53 Bug 1453010 - Part 1: Lock highlighted element by clicking on the inspect icon in AnimationTarget component. r=gl
MozReview-Commit-ID: 1FzOpsVLiwX

--HG--
extra : rebase_source : 22d48ea3c2d622884eef99444dd905f3c12ff548
2018-04-27 15:19:40 +09:00
Emilio Cobos Álvarez c2ca86b566 No bug - Change the configuration of some properties for servo. r=me
MozReview-Commit-ID: FxJQrXziRK0
2018-04-29 02:43:47 +02:00
Emilio Cobos Álvarez 289dbdc04a No bug - Derive an attribute for servo. r=me
MozReview-Commit-ID: DQBJeg3xbuM
2018-04-29 02:30:59 +02:00
Emilio Cobos Álvarez 4fa6110947 No bug - Reorder an import to sync with servo. r=me
MozReview-Commit-ID: 4BLELl3T54p
2018-04-29 02:29:39 +02:00
Emilio Cobos Álvarez 3485ba7bff No bug - Get rid of an import and sync with servo. r=me
MozReview-Commit-ID: 5aGNna6ulsM
2018-04-29 02:29:36 +02:00
Emilio Cobos Álvarez afc1297f6d No bug - sync some changes from servo. r=me
MozReview-Commit-ID: HyRI5CfZh5w
2018-04-29 01:59:00 +02:00
Xidorn Quan 5efc0123ab Bug 1434130 part 15 - Remove kCSSRawPredefinedCounterStyles. r=emilio
MozReview-Commit-ID: 5aiU0VChbpY

--HG--
extra : source : 3943b16b0d0b6ba4f2bb04423daf609fd204c10e
2018-04-29 09:03:31 +10:00
Xidorn Quan f7399c7c0f Bug 1434130 part 14 - Remove nsCSSProps::kParseVariantTable. r=emilio
The parsevariant field is not removed from nsCSSPropList.h since that
file is going away soon anyway.

MozReview-Commit-ID: 3nRBQtmZRKG

--HG--
extra : source : dcb6ff9ec9f61d2ea99253cd34a9d904f89cfe17
2018-04-29 09:03:31 +10:00
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
Xidorn Quan 9d288a4ae2 Bug 1434130 part 12 - Manually implement collect_completion_keywords for some types. r=emilio
MozReview-Commit-ID: 6T35uylxgho

--HG--
extra : source : b638793227b9f6317b540670227d68ad90a76173
2018-04-29 09:03:31 +10:00
Xidorn Quan c873376fd5 Bug 1434130 part 11 - Add some attributes for SpecifiedValueInfo to help deriving more from types. r=emilio
MozReview-Commit-ID: IyohSTbUO31

--HG--
extra : source : 2af95ecd7e1f48bf54a93573a68a9d3f29393e42
2018-04-29 09:03:31 +10:00
Xidorn Quan cd8a6cc5fc Bug 1434130 part 10 - Handle keywords for color values. r=emilio
MozReview-Commit-ID: 5GvIHSeQuCX

--HG--
extra : source : 524796e355b2221343b96a77c7a00abd2eb41af7
2018-04-29 09:03:31 +10:00
Xidorn Quan bb381a4356 Bug 1434130 part 9 - Use unified list for TextDecorationLine and implement its SpecifiedValueInfo. r=emilio
MozReview-Commit-ID: 2sCnK1AecFk

--HG--
extra : source : adc038d9c64ae32ca74ecaa46ca5cf0b9d5fdb77
2018-04-29 09:03:31 +10:00
Xidorn Quan ab9de25533 Bug 1434130 part 8 - Have TextAlign derive ToCss and unship char value from it. r=emilio
MozReview-Commit-ID: CXDnyqzjQkq

--HG--
extra : source : a78f97b583f55fb2373d9629b16883584d93cfd1
2018-04-29 09:03:31 +10:00
Xidorn Quan 2cddea6516 Bug 1434130 part 7 - Have Parse derive respect #[css(skip)] on variant as well and derive Parse for KeywordSize. r=emilio
MozReview-Commit-ID: evSvk1RQGe

--HG--
extra : source : 19f96541b1c1d147d92bf055b36abe4a7ed5c43d
2018-04-29 09:03:31 +10:00
Xidorn Quan 46ea7a41bd Bug 1434130 part 6 - Allow shorthands to specify their own impl of SpecifiedValueInfo and manual impl it for font and border. r=emilio
MozReview-Commit-ID: 3B9OfkWU0Eq

--HG--
extra : source : fe72d293e8420ddb903883fb6c0b5970aead6a26
2018-04-29 09:03:31 +10:00
Xidorn Quan 7fc9b978c6 Bug 1434130 part 5 - Derive ToCss for values::generics::font::KeywordSize. r=emilio
MozReview-Commit-ID: 9ek3PcqYiU3

--HG--
extra : source : 29990f9171efe771ea4d09fd129d37a4a1ec3870
2018-04-29 09:03:31 +10:00
Xidorn Quan af03b6b3eb Bug 1434130 part 4 - Use unified lists to impl several bitflag font-variant properties. r=emilio
This also changes their ToCss impl to use SequenceWriter instead of
checking has_value manually.

SpecifiedValueInfo for those types are also implemented in this patch.

MozReview-Commit-ID: 23h2VWS417H

--HG--
extra : source : f2c10917b105912bbe5fa06a986bbce08ebceac4
2018-04-29 09:03:31 +10:00
Xidorn Quan 9842a32733 Bug 1434130 part 3 - Add SequenceWriter::item_str for writing str items. r=emilio
This will be used in the next patch for font-variant bitflag types.

MozReview-Commit-ID: 2IvcsnYBNqA

--HG--
extra : source : a4cd0a8db99c2a46af183d44807dffb2a1a88e3f
2018-04-29 09:03:31 +10:00
Xidorn Quan aa75ec745f Bug 1434130 part 2 - Add collect_values function to SpecifiedValueInfo trait for collecting possible values. r=emilio
This is the basic structure of the stuff. Following patches will fill
the gap between Gecko and Servo on value generating, and finally hook
it into InspectorUtils.

MozReview-Commit-ID: KNLAfFBiY6e

--HG--
extra : source : e9e5d72857746710ead3cd42481b805efc771389
2018-04-29 09:03:31 +10:00
Xidorn Quan 0192f05add Bug 1434130 part 1 - Skip system font variant for ToCss in font subproperties. r=emilio
System font keywords are not a valid value for those properties.

The newly-added #[css(skip)] would be reused by deriving algorithm of
SpecifiedValueInfo to skip them as well.

MozReview-Commit-ID: EmnhkaA9RR5

--HG--
extra : source : d2fc92ed32f497ff6826228181b19787c1b48cc4
2018-04-29 09:03:31 +10:00
Andreea Pavel 7abcd926f5 Backed out changeset 1ce48405e58a (bug 1447619) for creating bug 1457257 and bug 1457289 on a CLOSED TREE 2018-04-28 20:46:51 +03:00
Andreea Pavel 7fec5697dc Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-28 20:41:18 +03:00
Andreea Pavel 443c91d4b4 Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
Emilio Cobos Álvarez 1915a41571 Bug 1457652: Fix serialization order of the outline shorthand. r=xidorn
This is going to be tested in
https://github.com/w3c/web-platform-tests/pull/10700.

MozReview-Commit-ID: 7Oi1it70YFw
2018-04-28 15:41:17 +02:00
Olli Pettay 30938bcddd Bug 1430020, let sequential focus navigation in shadow DOM enter iframes, r=mrbkap
--HG--
extra : rebase_source : 0ca436dfc8b28a680bdb393f0f9ce8ae0632bd9a
2018-04-28 16:07:06 +03:00
Dorel Luca 69408b00d8 Backed out changeset 2a03e9effe84 (bug 1457652) for WPT failures on /css/cssom/shorthand-values.html 2018-04-28 14:54:16 +03:00
Hiroyuki Ikezoe 41be7768d1 Bug 1457249 - Use actually calculated value for the assertion that checks animation value is unchanged when we decided to skip calculation for the animation on debug build. r=kats
Before this change, the value which was set by SetShadowBaseTransform()
has been used for the assertion, but it is possible that the value is changed
by APZ.  And it's hard to tell whether the value has been changed by APZ or not
and it's hard to *reverse-calculate* the differences in the past APZ at the
moment we want to do the assert.

So after this patch, on debug build we don't actually skip the calculation for
unchanged animations and use the newly calculated value for the assertion.

MozReview-Commit-ID: 8fCcvvbUMHe

--HG--
extra : rebase_source : 0ff5e7100ad33a690bb0edd02af2b00c749afbbe
2018-04-28 18:09:27 +09:00
Hiroyuki Ikezoe 83df03fa3f Bug 1457249 - Factor out the function that converts transform into device space. r=kats
MozReview-Commit-ID: L7CDcSdIj4D

--HG--
extra : rebase_source : 9b976891ea92ca4ee50968139a3662eba3eeef3b
2018-04-28 18:08:15 +09:00
Hiroyuki Ikezoe bd924ec565 Bug 1457249 - Factor out the function that converts servo's animation value to matrix. r=kats
MozReview-Commit-ID: HpdFYykOkOS

--HG--
extra : rebase_source : 3fb386bb41b9bcf122bd5c8410fe73dcc3dd5d97
2018-04-28 18:08:15 +09:00
Hiroyuki Ikezoe 328d34d3c7 Bug 1457249 - Assert that there is an animation value set by animations when we skip calculation for newly animation value. r=kats
MozReview-Commit-ID: F85nAmKIGCA

--HG--
extra : rebase_source : 0f2065e58f02ef1462a15f0cd680ffa7b2a185b1
2018-04-28 18:08:15 +09:00
Emilio Cobos Álvarez 573ab1cdee Bug 1457652: Fix serialization order of the outline shorthand. r=xidorn
This is going to be tested in
https://github.com/w3c/web-platform-tests/pull/10700.

MozReview-Commit-ID: 7Oi1it70YFw

--HG--
extra : rebase_source : 4c4e738ceaec32750ae0c5aa0308c17346806b3a
2018-04-28 09:41:48 +02:00
Doug Thayer 0b6ce33343 Bug 1448944 - Move Sqlite.jsm back to stricter startup check r=Gijs
MozReview-Commit-ID: IrRfc9tW5hY

--HG--
extra : rebase_source : 42728e57cb90570290c86363d975f71bf8d1ee34
2018-04-27 12:04:24 -07:00
Doug Thayer df67d38e71 Bug 1448944 - Avoid cps2 roundtrip for null principal about:blank r=Gijs
MozReview-Commit-ID: HeKrcoKo1EH

--HG--
extra : rebase_source : ec9ea0b79d1afd938f0ecf78d8a7e6543f3e4b93
2018-04-27 10:11:54 -07:00
Gijs Kruitbosch f484a33f52 Bug 1456515 - make plugin URL methods async, r=kmag
MozReview-Commit-ID: 6EITxFc12mW

--HG--
extra : rebase_source : 1610257bcb928655b28fbbec55c7bbb80ec477a2
2018-04-27 15:56:46 +01:00
Henrik Skupin 507cc07062 Bug 1455241 - [mozinstall] Detach mounted image in install() if path contains space. r=gbrown
MozReview-Commit-ID: GOhiqQUzsRL

--HG--
extra : rebase_source : 010414f025623322ca2c26b63c1399e0c0ada514
2018-04-27 14:00:20 +02:00
Henrik Skupin 8dba930c7a Bug 1455241 - [mozinstall] Convert unit tests to pytest format. r=gbrown
MozReview-Commit-ID: T7vIhDwdC

--HG--
rename : testing/mozbase/mozinstall/tests/Installer-Stubs/firefox.dmg => testing/mozbase/mozinstall/tests/installer_stubs/firefox.dmg
rename : testing/mozbase/mozinstall/tests/Installer-Stubs/firefox.tar.bz2 => testing/mozbase/mozinstall/tests/installer_stubs/firefox.tar.bz2
rename : testing/mozbase/mozinstall/tests/Installer-Stubs/firefox.zip => testing/mozbase/mozinstall/tests/installer_stubs/firefox.zip
rename : testing/mozbase/mozinstall/tests/test.py => testing/mozbase/mozinstall/tests/test_install.py
extra : rebase_source : ea6e6a23e844b3fd421dc9e88445126c7567ac03
2018-04-27 13:44:21 +02:00
Mike Cooper 679de5b459 Bug 1442090 - Cleanup preference after a Normandy test to pass under mochitest --verify r=Gijs
MozReview-Commit-ID: JcGYOy3aKe8

--HG--
extra : rebase_source : 36eb51be32d0618edb4eb34f84eed1cba55b3064
2018-04-27 10:12:50 -07:00
Hector Zhao ad13f85bf6 Bug 1457423 - Locate android-{findbugs,lint} artifacts with updated filename. r=nalexander
MozReview-Commit-ID: 3sVHQr4toaS

--HG--
extra : rebase_source : d823dd4616e8ce604d1d8f32e6d235e12ce2828c
2018-04-27 19:25:57 +08:00
Jan de Mooij a4e045b42b Bug 1408412 - Add testcase. r=me
--HG--
extra : rebase_source : 420a5cd8d69a92d6ed615de25833815ff31e2ca9
2018-04-26 10:27:54 +02:00
Jan de Mooij f47a30f24a Bug 1457125 - Use interpreter fast path for calls also for calls to non-constructors. r=tcampbell
--HG--
extra : rebase_source : f95f139b11ca28fccadeaf344deb4036841e9b4b
2018-04-28 10:19:53 +02:00
Jonathan Kew 5e9926e820 Bug 1457505 - Fix the check for variation-font support in gfxWindowsPlatform: cannot depend on checking mUsingDirectWrite, as the fontlist is not yet set up. r=lsalzman 2018-04-28 09:17:47 +01:00
Bas Schouten 8524a808f2 Bug 1447141 - Addition: Correct Vendor ID for old radeon device blacklist. r=milan 2018-04-28 08:07:45 +00:00
Emilio Cobos Álvarez 981bc1c766 Bug 1457166: Fire online / offline events at the window. r=bz
MozReview-Commit-ID: 2v5zNwM9qSh
2018-04-28 09:38:53 +02:00
Kris Maglione 5cf041d41c Bug 1456035: Fix robocop bustage. r=bustage
MozReview-Commit-ID: HeCbltjaEBh
2018-04-27 17:13:19 -07:00
Eugen Sawin 8b8e536452 Bug 1439013 - Fix assertion for real. r=me 2018-04-28 01:26:32 +02:00