Commit Graph
3 Commits
Author SHA1 Message Date
Razvan Caliman 5d8e8e0263 Bug 1503924 - Mark style sources from iframes in the Changes panel. r=gl
Depends on D12590

Differential Revision: https://phabricator.services.mozilla.com/D12697
2018-11-26 05:02:06 +00:00
Razvan Caliman 15791ed77b Bug 1503924 - Trim source URLs to filename in Changes panel. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D12588
2018-11-23 16:25:18 +00:00
Razvan Caliman 65cf5dbfda Bug 1499049 - (Part 3) Add new reducer logic for tracking CSS changes to nested rules; r=pbro
Depends on D8719

- Add methods to generate unique identifiers for stylesheets and CSS rules changed within those stylesheets. These are used as IDs in the Redux store;
- Add logic to generate entries in the store for each one of the rule's ancestors and assign parent/child dependencies. This single-level structure for all rules in a source helps with quickly identifying a rule on subsequent changes independent of its rule tree (it avoids needless tree traversal). The parent/child references help with rendering of the nested rule structure in the Changes panel;
- Deep clone Redux store state before aggregating tracked changes (no more mutations of previous state).

Differential Revision: https://phabricator.services.mozilla.com/D8720
2018-10-25 16:20:00 +00:00