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

1619 Коммитов

Автор SHA1 Сообщение Дата
Bogdan Tara 55af40da2e Backed out 4 changesets (bug 1456680) for failing dt at devtools/client/inspector/grids/test/browser_grids_grid-outline-highlight-area.js CLOSED TREE
Backed out changeset 232bed10f4d8 (bug 1456680)
Backed out changeset cfa4b6d2be06 (bug 1456680)
Backed out changeset aef2d7d27ff1 (bug 1456680)
Backed out changeset 80f9a47393ed (bug 1456680)
2018-05-01 09:31:16 +03:00
Gabriel Luong 8de1d457b7 Bug 1456680 - Part 6: Refactor getting the grid highlighter settings logic into HighlightersOverlay. r=pbro
- Refactor the logic for getting the grid highlighter settings into HighlightersOverlay.js
- Refactor the grid area and cell highlight into a single function in grid-inspector.js
- Change the order of the parameters for onHighlighterChange in grid-inspector.js
- Get the last highlighted state from the Redux store instead of storing them in a variable
2018-04-30 14:38:02 -04:00
Gabriel Luong 60f57af35a Bug 1456680 - Part 5: Remove unused onShowGridLineNamesHighlight method. r=pbro 2018-04-30 14:35:43 -04:00
Gabriel Luong af33af7c5d Bug 1456680 - Part 2: Format markup.js; r=pbro 2018-04-30 14:33:57 -04:00
Gabriel Luong 6441460e7d Bug 1456680 - Part 1: Store the grid highlighter setting in HighlightersOverlay. r=pbro
Extract loading the grid highlighter setting into HighlightersOverlay. This
allows the grid highlighter toggle in the rule view to also show the grid
highlighter with the currently set highlight settings if the grid inspector
has not been initiated yet.
2018-04-30 14:33:48 -04:00
Gabriel Luong 047a8388d4 Bug 1452206 - Tweak spacing and alignment of items in the Inspector Layout panel. r=jdescottes 2018-04-30 11:24:04 -04:00
Daisuke Akatsuka b921c5e746 Bug 1453032 - Part 2: Add a test that avoids reselecting the node when the node is already selected. r=gl
MozReview-Commit-ID: L0SbpdEV93K

--HG--
extra : rebase_source : 7e7ed16b75c6b98a7dda651ff66769e449f344f6
2018-04-26 10:23:29 +09:00
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
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
Gabriel Luong d51badc935 Bug 1457440 - Stop translating margin, padding, border in the box-model diagram. r=bgrins 2018-04-27 15:52:34 -04:00
Gabriel Luong 63837b4686 Bug 1455641 - Remove unnecessary catch from setSelectedNode calls. r=pbro 2018-04-26 11:28:02 -04:00
Razvan Caliman 1c17bec4b8 Bug 1455335 - Extract font name and origin into reusable component. r=gl
- Extract font name and origin (URL + copy URL) into FontMeta component.
- Reuse FontMeta in font overview and font editor.
- Tweak CSS for improved spacing and flex-grow behaviour.

MozReview-Commit-ID: 4W2E48r8Yps

--HG--
extra : rebase_source : 5159468f943cb505fd1ca9aeb50954fbb690af07
2018-04-20 17:52:08 +02:00
Andreea Pavel a21531022b Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-26 09:04:59 +03:00
Kris Maglione a7b308c3a2 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW

--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Yura Zenevich dbc919795a Bug 1451241 - check text children of non-accessible nodes when retrieving accessible objects. r=jdescottes
MozReview-Commit-ID: 2SFe6g3hOCc
2018-04-25 14:06:16 -04:00
Razvan Caliman 0b89a66cc4 Bug 1455588 - Allow dragging Shape Editor markers outside of iframe viewport. r=pbro
MozReview-Commit-ID: 4JZYDa8FUJg

--HG--
extra : rebase_source : e84122ee6751f8d30a755af840745e35c9d58da6
2018-04-24 17:51:31 +02:00
Ciure Andrei 1940af33ec Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-24 04:29:20 +03:00
Ciure Andrei 33e644e1da Merge inbound to mozilla-central. a=merge 2018-04-24 04:14:21 +03:00
Mats Palmgren 21d3390a47 Bug 1398482 part 5 - Update devtools autocompletion expectations. r=me 2018-04-24 01:52:51 +02:00
Julian Descottes 1115d2987d Bug 1456092 - Move devtools/client/animationinspector to devtools/client/inspector/animation-old;r=daisuke,pbro
MozReview-Commit-ID: HbIYBfoWgk4

--HG--
rename : devtools/client/animationinspector/README.md => devtools/client/inspector/animation-old/README.md
rename : devtools/client/animationinspector/animation-controller.js => devtools/client/inspector/animation-old/animation-controller.js
rename : devtools/client/animationinspector/animation-inspector.xhtml => devtools/client/inspector/animation-old/animation-inspector.xhtml
rename : devtools/client/animationinspector/animation-panel.js => devtools/client/inspector/animation-old/animation-panel.js
rename : devtools/client/animationinspector/components/animation-details.js => devtools/client/inspector/animation-old/components/animation-details.js
rename : devtools/client/animationinspector/components/animation-target-node.js => devtools/client/inspector/animation-old/components/animation-target-node.js
rename : devtools/client/animationinspector/components/animation-time-block.js => devtools/client/inspector/animation-old/components/animation-time-block.js
rename : devtools/client/animationinspector/components/animation-timeline.js => devtools/client/inspector/animation-old/components/animation-timeline.js
rename : devtools/client/animationinspector/components/keyframes.js => devtools/client/inspector/animation-old/components/keyframes.js
rename : devtools/client/animationinspector/components/moz.build => devtools/client/inspector/animation-old/components/moz.build
rename : devtools/client/animationinspector/components/rate-selector.js => devtools/client/inspector/animation-old/components/rate-selector.js
rename : devtools/client/animationinspector/graph-helper.js => devtools/client/inspector/animation-old/graph-helper.js
rename : devtools/client/animationinspector/moz.build => devtools/client/inspector/animation-old/moz.build
rename : devtools/client/animationinspector/test/.eslintrc.js => devtools/client/inspector/animation-old/test/.eslintrc.js
rename : devtools/client/animationinspector/test/browser.ini => devtools/client/inspector/animation-old/test/browser.ini
rename : devtools/client/animationinspector/test/browser_animation_animated_properties_displayed.js => devtools/client/inspector/animation-old/test/browser_animation_animated_properties_displayed.js
rename : devtools/client/animationinspector/test/browser_animation_animated_properties_for_delayed_starttime_animations.js => devtools/client/inspector/animation-old/test/browser_animation_animated_properties_for_delayed_starttime_animations.js
rename : devtools/client/animationinspector/test/browser_animation_animated_properties_path.js => devtools/client/inspector/animation-old/test/browser_animation_animated_properties_path.js
rename : devtools/client/animationinspector/test/browser_animation_animated_properties_progress_indicator.js => devtools/client/inspector/animation-old/test/browser_animation_animated_properties_progress_indicator.js
rename : devtools/client/animationinspector/test/browser_animation_click_selects_animation.js => devtools/client/inspector/animation-old/test/browser_animation_click_selects_animation.js
rename : devtools/client/animationinspector/test/browser_animation_controller_exposes_document_currentTime.js => devtools/client/inspector/animation-old/test/browser_animation_controller_exposes_document_currentTime.js
rename : devtools/client/animationinspector/test/browser_animation_detail_displayed.js => devtools/client/inspector/animation-old/test/browser_animation_detail_displayed.js
rename : devtools/client/animationinspector/test/browser_animation_detail_easings.js => devtools/client/inspector/animation-old/test/browser_animation_detail_easings.js
rename : devtools/client/animationinspector/test/browser_animation_empty_on_invalid_nodes.js => devtools/client/inspector/animation-old/test/browser_animation_empty_on_invalid_nodes.js
rename : devtools/client/animationinspector/test/browser_animation_keyframe_markers.js => devtools/client/inspector/animation-old/test/browser_animation_keyframe_markers.js
rename : devtools/client/animationinspector/test/browser_animation_mutations_with_same_names.js => devtools/client/inspector/animation-old/test/browser_animation_mutations_with_same_names.js
rename : devtools/client/animationinspector/test/browser_animation_panel_exists.js => devtools/client/inspector/animation-old/test/browser_animation_panel_exists.js
rename : devtools/client/animationinspector/test/browser_animation_participate_in_inspector_update.js => devtools/client/inspector/animation-old/test/browser_animation_participate_in_inspector_update.js
rename : devtools/client/animationinspector/test/browser_animation_playerFronts_are_refreshed.js => devtools/client/inspector/animation-old/test/browser_animation_playerFronts_are_refreshed.js
rename : devtools/client/animationinspector/test/browser_animation_playerWidgets_appear_on_panel_init.js => devtools/client/inspector/animation-old/test/browser_animation_playerWidgets_appear_on_panel_init.js
rename : devtools/client/animationinspector/test/browser_animation_playerWidgets_target_nodes.js => devtools/client/inspector/animation-old/test/browser_animation_playerWidgets_target_nodes.js
rename : devtools/client/animationinspector/test/browser_animation_pseudo_elements.js => devtools/client/inspector/animation-old/test/browser_animation_pseudo_elements.js
rename : devtools/client/animationinspector/test/browser_animation_refresh_on_added_animation.js => devtools/client/inspector/animation-old/test/browser_animation_refresh_on_added_animation.js
rename : devtools/client/animationinspector/test/browser_animation_refresh_on_removed_animation.js => devtools/client/inspector/animation-old/test/browser_animation_refresh_on_removed_animation.js
rename : devtools/client/animationinspector/test/browser_animation_refresh_when_active.js => devtools/client/inspector/animation-old/test/browser_animation_refresh_when_active.js
rename : devtools/client/animationinspector/test/browser_animation_refresh_when_active_after_mutations.js => devtools/client/inspector/animation-old/test/browser_animation_refresh_when_active_after_mutations.js
rename : devtools/client/animationinspector/test/browser_animation_running_on_compositor.js => devtools/client/inspector/animation-old/test/browser_animation_running_on_compositor.js
rename : devtools/client/animationinspector/test/browser_animation_same_nb_of_playerWidgets_and_playerFronts.js => devtools/client/inspector/animation-old/test/browser_animation_same_nb_of_playerWidgets_and_playerFronts.js
rename : devtools/client/animationinspector/test/browser_animation_shows_player_on_valid_node.js => devtools/client/inspector/animation-old/test/browser_animation_shows_player_on_valid_node.js
rename : devtools/client/animationinspector/test/browser_animation_spacebar_toggles_animations.js => devtools/client/inspector/animation-old/test/browser_animation_spacebar_toggles_animations.js
rename : devtools/client/animationinspector/test/browser_animation_spacebar_toggles_node_animations.js => devtools/client/inspector/animation-old/test/browser_animation_spacebar_toggles_node_animations.js
rename : devtools/client/animationinspector/test/browser_animation_summarygraph_for_multiple_easings.js => devtools/client/inspector/animation-old/test/browser_animation_summarygraph_for_multiple_easings.js
rename : devtools/client/animationinspector/test/browser_animation_target_highlight_select.js => devtools/client/inspector/animation-old/test/browser_animation_target_highlight_select.js
rename : devtools/client/animationinspector/test/browser_animation_target_highlighter_lock.js => devtools/client/inspector/animation-old/test/browser_animation_target_highlighter_lock.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_add_animation.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_add_animation.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_currentTime.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_currentTime.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_header.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_header.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_iterationStart.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_iterationStart.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_pause_button_01.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_pause_button_01.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_pause_button_02.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_pause_button_02.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_pause_button_03.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_pause_button_03.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_rate_selector.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_rate_selector.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_rewind_button.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_rewind_button.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_scrubber_exists.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_scrubber_exists.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_scrubber_movable.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_scrubber_movable.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_scrubber_moves.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_scrubber_moves.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_setCurrentTime.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_setCurrentTime.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_short_duration.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_short_duration.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_shows_delay.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_shows_delay.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_shows_endDelay.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_shows_endDelay.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_shows_iterations.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_shows_iterations.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_shows_name_label.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_shows_name_label.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_shows_time_info.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_shows_time_info.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_takes_rate_into_account.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_takes_rate_into_account.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_ui.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_ui.js
rename : devtools/client/animationinspector/test/browser_animation_toggle_button_resets_on_navigate.js => devtools/client/inspector/animation-old/test/browser_animation_toggle_button_resets_on_navigate.js
rename : devtools/client/animationinspector/test/browser_animation_toggle_button_toggles_animations.js => devtools/client/inspector/animation-old/test/browser_animation_toggle_button_toggles_animations.js
rename : devtools/client/animationinspector/test/browser_animation_toolbar_exists.js => devtools/client/inspector/animation-old/test/browser_animation_toolbar_exists.js
rename : devtools/client/animationinspector/test/browser_animation_ui_updates_when_animation_data_changes.js => devtools/client/inspector/animation-old/test/browser_animation_ui_updates_when_animation_data_changes.js
rename : devtools/client/animationinspector/test/doc_add_animation.html => devtools/client/inspector/animation-old/test/doc_add_animation.html
rename : devtools/client/animationinspector/test/doc_body_animation.html => devtools/client/inspector/animation-old/test/doc_body_animation.html
rename : devtools/client/animationinspector/test/doc_delayed_starttime_animations.html => devtools/client/inspector/animation-old/test/doc_delayed_starttime_animations.html
rename : devtools/client/animationinspector/test/doc_end_delay.html => devtools/client/inspector/animation-old/test/doc_end_delay.html
rename : devtools/client/animationinspector/test/doc_frame_script.js => devtools/client/inspector/animation-old/test/doc_frame_script.js
rename : devtools/client/animationinspector/test/doc_keyframes.html => devtools/client/inspector/animation-old/test/doc_keyframes.html
rename : devtools/client/animationinspector/test/doc_modify_playbackRate.html => devtools/client/inspector/animation-old/test/doc_modify_playbackRate.html
rename : devtools/client/animationinspector/test/doc_multiple_animation_types.html => devtools/client/inspector/animation-old/test/doc_multiple_animation_types.html
rename : devtools/client/animationinspector/test/doc_multiple_easings.html => devtools/client/inspector/animation-old/test/doc_multiple_easings.html
rename : devtools/client/animationinspector/test/doc_multiple_property_types.html => devtools/client/inspector/animation-old/test/doc_multiple_property_types.html
rename : devtools/client/animationinspector/test/doc_negative_animation.html => devtools/client/inspector/animation-old/test/doc_negative_animation.html
rename : devtools/client/animationinspector/test/doc_pseudo_elements.html => devtools/client/inspector/animation-old/test/doc_pseudo_elements.html
rename : devtools/client/animationinspector/test/doc_script_animation.html => devtools/client/inspector/animation-old/test/doc_script_animation.html
rename : devtools/client/animationinspector/test/doc_short_duration_animation.html => devtools/client/inspector/animation-old/test/doc_short_duration_animation.html
rename : devtools/client/animationinspector/test/doc_simple_animation.html => devtools/client/inspector/animation-old/test/doc_simple_animation.html
rename : devtools/client/animationinspector/test/doc_timing_combination_animation.html => devtools/client/inspector/animation-old/test/doc_timing_combination_animation.html
rename : devtools/client/animationinspector/test/head.js => devtools/client/inspector/animation-old/test/head.js
rename : devtools/client/animationinspector/test/unit/.eslintrc.js => devtools/client/inspector/animation-old/test/unit/.eslintrc.js
rename : devtools/client/animationinspector/test/unit/test_findOptimalTimeInterval.js => devtools/client/inspector/animation-old/test/unit/test_findOptimalTimeInterval.js
rename : devtools/client/animationinspector/test/unit/test_formatStopwatchTime.js => devtools/client/inspector/animation-old/test/unit/test_formatStopwatchTime.js
rename : devtools/client/animationinspector/test/unit/test_getCssPropertyName.js => devtools/client/inspector/animation-old/test/unit/test_getCssPropertyName.js
rename : devtools/client/animationinspector/test/unit/test_timeScale.js => devtools/client/inspector/animation-old/test/unit/test_timeScale.js
rename : devtools/client/animationinspector/test/unit/test_timeScale_dimensions.js => devtools/client/inspector/animation-old/test/unit/test_timeScale_dimensions.js
rename : devtools/client/animationinspector/test/unit/xpcshell.ini => devtools/client/inspector/animation-old/test/unit/xpcshell.ini
rename : devtools/client/animationinspector/utils.js => devtools/client/inspector/animation-old/utils.js
extra : rebase_source : 28aeafe670b038439568951be554cb780cfc29ef
2018-04-23 14:39:45 +02:00
Julian Descottes 8fe425e916 Bug 1456075 - Remove standalone inspector initialization code;r=ochameau
MozReview-Commit-ID: 6uwKogI7079

--HG--
extra : rebase_source : bd9e5b8bf6d4caa89b7f7b2ae1dcb15a579794ae
2018-04-23 12:16:08 +02:00
Razvan Caliman d265ff3a16 Bug 1449893 - Implementation for managing variation instances. r=gl
MozReview-Commit-ID: DoJig5FAMQn
2018-04-20 05:13:00 +03:00
Razvan Caliman 751e8102a2 Bug 1449893 - Redux setup for managing font variation instances. r=gl
MozReview-Commit-ID: G4xrAHypsyJ
2018-04-20 05:12:00 +03:00
Gabriel Luong 1008d66db7 Bug 1437881 - Add telemetry for the 3 pane inspector. r=jdescottes 2018-04-23 12:38:22 -04:00
Gabriel Luong b8d2d5aa5c Bug 1455163 - Style the inspector markup and font editor toggle badges. r=pbro 2018-04-23 12:35:15 -04:00
Kris Maglione dfd8eb706c Bug 1454813: Part 1a - Remove Tasks.jsm support in browser tests. r=florian
MozReview-Commit-ID: IxwtdywNt8Z

--HG--
extra : rebase_source : 770c017d6da0cc0feb21fbf7d1db84e48f74be6a
2018-04-18 11:47:45 -07:00
Razvan Caliman 7c57d1ebc1 Bug 1452986 - Fix intermittent timeout for test devtools/client/inspector/test/browser_inspector_highlighter-cssshape_04.js on a CLOSED TREE. r=me
MozReview-Commit-ID: 6mIrEhznW5v

--HG--
extra : amend_source : dd18ea79977a1956ba920d86aadecf746a4827cb
2018-04-18 20:20:06 +02:00
Razvan Caliman 83db553688 Bug 1453428 - Handle cases for shape coordinates like 0%, 0em, 0rem, etc. without overwriting to pixels. r=gl
The previous implementation treated any zero coordinate as pixels,
regardless of its unit type. For example, 0% would be converted to 0px.
This changed the shape value resulting in unintentional unit mismatch
after editing a coordinate which started off as 0% or 0em or 0vh, etc.

This patch fixes that and preserves the unit type for zero coordinates.

It changes the implementation of isUnitless() to return false for values
like 0%, 0px, 0em, 0.00000%, etc.

It introduces getUnitToPixelRatio() to get the ratio by which to
multiply a pixel value to convert it to the given unit during shape
editing operations (point move, scale, translate, rotate, etc.)

The ratio is constant by unit type. Previously, this ratio was
calculated in-place for each unit value. Values which started as zero,
always resulted in a ratio equal to zero. This multiplied with a pixel
value resulted zero. So the previous code defaulted to ratio of 1 when
the ratio was zero, but this meant that a 1:1 ratio between pixels and
another unit type (%, em, vh) would result in disproportionate
shape changes (1px of mouse travel would result in 1em). This is why
isUnitless() originally discarded the original unit from a zero
coordinate and replaced it with pixels; to account for this fallback
ratio of 1.

MozReview-Commit-ID: 49tyLfYjkLO
2018-04-11 22:21:18 +02:00
Csoregi Natalia 12a8bddd95 Merge inbound to mozilla-central. a=merge 2018-04-18 00:52:25 +03:00
Tooru Fujisawa 4edca724ce Bug 1342070 - Part 4: Remove unnecessary PromiseTestUtils.expectUncaughtRejection call. r=ochameau 2018-04-17 14:59:57 +02:00
Daisuke Akatsuka 3df6bd3fde Bug 1453239: Change the expression of easing hint of properties which animate as color. r=gl
MozReview-Commit-ID: 6X3QeZIZg0u

--HG--
extra : rebase_source : b39368cd5a672019c1ce11c2c290436b4339a7f2
2018-04-11 23:48:58 +09:00
Yura Zenevich b4dc67d73a Bug 1447302 - add telemetry probes for accessibility inspector Developer Tool panel. r=jdescottes
MozReview-Commit-ID: 6tcGHq86goa
2018-04-16 21:17:26 -04:00
Bharat Raghunathan e1b9a0b9c4 Bug 1450201 - Fix TypeError by processing the function only if it is a DOMNodes. r=gl
MozReview-Commit-ID: HGJcGaeEuEO
2018-04-09 07:56:32 +05:30
Alexandre Poirot f9fdb6f696 Bug 1453385 - Remove NodeActor custom form attributes. r=Honza
This feature introduced in bug 1036949 is not longer used as it was designed for XUL add-ons.
The setFormProperty method was prevently Node's form from getting correctly
serialized between processes.

MozReview-Commit-ID: AiNnHSkwsEM

--HG--
extra : rebase_source : cf12f05f1de49a37a5d8ff694ef448f452f55a06
2018-04-11 08:54:27 -07:00
Emilio Cobos Álvarez 9509cd7e32 Bug 1453789: Remove Element.createShadowRoot. r=smaug
MozReview-Commit-ID: Hgxbp1Icgvh
2018-04-13 20:51:55 +02:00
Alexandre Poirot 9b2fdcf8bb Bug 1453712 - Use a preference to set the testing flag. r=jryans
MozReview-Commit-ID: 1cjSQnXtc4h

--HG--
extra : rebase_source : 55c0c9fa81a8dc17b92cba721dcc5912b07d0fab
2018-04-12 09:22:42 -07:00
Brian Grinstead 86d5c02846 Bug 1304794 - Stop using the old frontend for remaining non-console mochitests r=nchevobbe
MozReview-Commit-ID: D9azk5jNzpm

--HG--
extra : rebase_source : c361776292202609c408c25533aeab64428c4a47
2018-04-12 09:29:43 -07:00
Erica Wright 5a58c5d8bf Bug 1431071 - Grid line names suggestions offered in inspector autocomplete if element is in a grid and rule applies. r=gl, jdescottes
MozReview-Commit-ID: HGINxducS4x
2018-04-04 14:01:19 -04:00
Nicolas Chevobbe 11a68e1d4a Bug 1449165 - Fix test failure in browser_inspector_extension_sidebar with new reps bundle; r=rpl.
For some reason, the test was failing. I suspect that it would
take some time for the object to expand, giving some time for the
targeted node (the root, containing the body node in an object), to
be turned into TINY mode, and thus making it impossible for the
onMouseOut listener to be executed.
This patch waits for the object inspector to be expanded so we make
sure to only target the body node.

MozReview-Commit-ID: 96H1ebkp6aJ

--HG--
extra : rebase_source : 062500eb1ab1aadc32383da296b16da69cf72e4c
2018-04-09 11:29:30 +02:00
arthur.iakab 8fe9a4d75a Merge mozilla-central to autoland 2018-04-11 01:12:49 +03:00
Coroiu Cristina c22c3be855 Merge inbound to mozilla-central a=merge 2018-04-11 00:56:08 +03:00
Daisuke Akatsuka 942f6ebb24 Bug 1449784: To avoid double scroll bar. r=pbro
MozReview-Commit-ID: FjEHkLoD79D

--HG--
extra : rebase_source : 795f2eef016cfe2c3774e8a542455733f7558f3b
2018-04-10 18:28:35 +09:00
Razvan Caliman fb8f2edd91 Bug 1449885 - Write variation axis changes to rule and keep in sync with any manual edits to rule. r=gl
MozReview-Commit-ID: LaZWwWf2CsX
2018-04-02 17:40:21 +02:00
Razvan Caliman 0a3e54885d Bug 1449885 - Read font variation axis data and setup UI with any axis values defined on rule. r=gl
MozReview-Commit-ID: 6tWRyjYcdDH
2018-04-02 17:32:51 +02:00
arthur.iakab f7c08a2145 Backed out 2 changesets (bug 1449885) For frequently failing devtools on browser_parsable_css.js on a CLOSED TREE
Backed out changeset 47b3480dc0af (bug 1449885)
Backed out changeset 7ee122acafd1 (bug 1449885)
2018-04-10 22:09:31 +03:00
Razvan Caliman ecf3a64924 Bug 1449885 - Write variation axis changes to rule and keep in sync with any manual edits to rule. r=gl
MozReview-Commit-ID: LaZWwWf2CsX
2018-04-02 17:40:21 +02:00