gecko-dev/devtools/client/preferences
Michael Ratcliffe ba0ce74c15 Bug 1306054 - Display an indicator on properties with inactive CSS r=rcaliman
### Summary of Changes

1. Added `element-style.js::refreshUnusedCssAll()`:
   - This method refreshes the CSS declarations for every property change and then calls  `element-style.js::_updatePropertyUsed()` for each pseudo element.
2. Added `element-style.js::_updatePropertyUsed()`:
   - This method simply updates the unused CSS HTML for each property that needs it.
3. Added `alerticon-unused.svg`.
4. A tiny bit of tidying in `devtools/client/themes/rules.css`:
   - Added blank lines before comments.
   - Changed `0px` to `0`;
   - Merged both the `#ruleview-class-panel .classes` rules.
   - Added used and unused CSS styles.
   - Hooked `InactivePropertyHelper` into `devtools/server/actors/styles.js`
5. `devtools/server/actors/utils/inactive-property-helper.js` contains the actual unused CSS engine.
6. This feature exposed a race condition inside `head.js::assertShowPreviewTooltip()`. It was mousing over an element and sometimes the tooltip emitted "shown" before we added the listener. This is now fixed.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=016f8dc8e05dbaa89bc5a79b822ce23e786d3fc1

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

--HG--
extra : moz-landing-system : lando
2019-05-07 14:58:50 +00:00
..
debugger.js Bug 1533502 - Debugger dumps log of every action while using it r=davidwalsh 2019-04-26 14:10:02 +00:00
devtools-client.js Bug 1306054 - Display an indicator on properties with inactive CSS r=rcaliman 2019-05-07 14:58:50 +00:00
moz.build Bug 1448077 - Rename client/preferences/devtools.js to devtools-client.js;r=jryans 2018-04-06 12:13:56 +02:00