(This code is on an older branch so it might be slightly out of date)

The property edit occurs in two phases on the CSS module
(CSSEditor.prototype.saveEdit)

                    if (previousValue)
                        Firebug.CSSModule.removeProperty(rule,
previousValue);

                    Firebug.CSSModule.setProperty(rule, value,
parsedValue.value,
                        parsedValue.priority);

The pretty much matches the APIs exposed by the CSSOM. There is no
rename property API, just delete and set. Currently the CSS module
doesn't provide many abstractions above the actions it is taking on
the CSSOM API.

Firediff handles this case by saving a list of all property changes
and then merging these cases together via a state machine. For most
use cases this would be entirely too much overhead and I would second
Sebo's recommendation to file an enhancement request to add an
additional dispatch event.

- Kevin

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Reply via email to