mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
80aa7658fd
A listener was added for stylesheet changes only if the stylesheet already contributed to the page before the modification. So if there was a stylesheet without any rule matching a node of the page, when a rule was created in it for the current selected node in the markup view, the rule view wasn't refreshed. The fix here is to emit an event, from the TabActor, when a StyleSheetActor is created, and listen to such event to watch for changes in it, in order to update the rule view. Modify an existing rule view/stylesheet editor sync test to make sure this bug is fixed. MozReview-Commit-ID: H3szbUnchQP --HG-- extra : transplant_source : %F7%E0%D2%8B%B3%D2%C3%1F%F8%88%03%AA%10Q%E4%B8h%0C%BE_ |
||
---|---|---|
.. | ||
client | ||
docs | ||
server | ||
shared | ||
.eslintrc | ||
.eslintrc.mochitests | ||
.eslintrc.xpcshell | ||
bootstrap.js | ||
chrome.manifest | ||
install.rdf | ||
moz.build | ||
templates.mozbuild |