bachileha / css-x-fire

Automatically exported from code.google.com/p/css-x-fire
0 stars 0 forks source link

observe rule insertion/deletion on firebug-css #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This way we can send a request concerning add or remove rules declaration 
blocks.

I attach a modified version of the firefox extension (overlay.js).

Original issue reported on code.google.com by sideral....@gmail.com on 11 Dec 2011 at 10:16

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry it's not a defect but an enhancement. How canI change this?

Original comment by sideral....@gmail.com on 11 Dec 2011 at 11:10

GoogleCodeExporter commented 9 years ago
Hi. Currently the tool supports insertion of new rules if they have at least 
one property in them. Could you elaborate a bit on why you think insertion of 
empty rules could be useful?

I think observing deletion of rules could be useful though.

Original comment by ronnie.k...@gmail.com on 12 Dec 2011 at 9:05

GoogleCodeExporter commented 9 years ago
Indeed, rule insertion is useless, but I added it with rule deletion aswell.
Rule deletion is pretty useful, to detect when you delete a whole rule set.

Original comment by sideral....@gmail.com on 12 Dec 2011 at 1:21

GoogleCodeExporter commented 9 years ago
... Because in that case, onCSSRemoveElement is simply not called.

Original comment by sideral....@gmail.com on 12 Dec 2011 at 1:21