gecko-dev/devtools/client/inspector/changes/test
Razvan Caliman 19ecfe66b0 Bug 1542213 - Track newly added CSS rules in the Changes panel. r=pbro
Introduces tracking for newly created CSS rules in the PageStyleActor.

Adds a boolean flag, `isNew`, to the tracked rule in the Changes Redux store. Using this flag, render the new rule's selector in the React component as added (plus sign, green background). Ensure selector changes for thew new rule always overwrite the original selector (fix for Bug 1542288) instead of erroneously showing the original selector as removed.

Removes obsolete documentation for "changeType" from the tracked rule in the Changes Redux store. This was never used.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 07:59:12 +00:00
..
unit Bug 1530341 - (Part 2) Add Copy All Changes button to Changes panel. r=gl 2019-02-25 22:37:02 +00:00
.eslintrc.js
browser.ini Bug 1542213 - Track newly added CSS rules in the Changes panel. r=pbro 2019-04-23 07:59:12 +00:00
browser_changes_declaration_disable.js Bug 1507476 - Update Changes panel tests to use helpers for rendered declarations. r=pbro 2018-11-21 08:16:06 +00:00
browser_changes_declaration_duplicate.js Bug 1507476 - Update Changes panel tests to use helpers for rendered declarations. r=pbro 2018-11-21 08:16:06 +00:00
browser_changes_declaration_edit_value.js Bug 1507476 - Update Changes panel tests to use helpers for rendered declarations. r=pbro 2018-11-21 08:16:06 +00:00
browser_changes_declaration_identical_rules.js Bug 1510790 - Introduce Redux selector for tracked changes to return the nested tree structure; r=pbro 2019-01-11 11:24:34 +00:00
browser_changes_declaration_remove.js Bug 1507476 - Update Changes panel tests to use helpers for rendered declarations. r=pbro 2018-11-21 08:16:06 +00:00
browser_changes_declaration_remove_ahead.js Bug 1507476 - Update Changes panel tests to use helpers for rendered declarations. r=pbro 2018-11-21 08:16:06 +00:00
browser_changes_declaration_remove_disabled.js Bug 1508748 - Avoid duplicate tracking of the same removed CSS declaration. r=pbro 2018-12-04 12:04:13 +00:00
browser_changes_declaration_rename.js Bug 1507476 - Match exact tracked declaration when renaming a property. r=pbro 2018-11-20 16:36:01 +00:00
browser_changes_rule_add.js Bug 1542213 - Track newly added CSS rules in the Changes panel. r=pbro 2019-04-23 07:59:12 +00:00
browser_changes_rule_selector.js Bug 1542213 - Track newly added CSS rules in the Changes panel. r=pbro 2019-04-23 07:59:12 +00:00
head.js Bug 1542213 - Track newly added CSS rules in the Changes panel. r=pbro 2019-04-23 07:59:12 +00:00