зеркало из https://github.com/mozilla/gecko-dev.git
ba0ce74c15
### 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 |
||
---|---|---|
.. | ||
debugger.js | ||
devtools-client.js | ||
moz.build |