I like comments, but I don't understand the implications of this one. Could we end up cloning the vector of CSS declarations, appending a new declaration to it, then returning without having updated the actual vector that is used by layout? That seems bad!

// Usually, the reference count will be 1 here. But transitions could make it greater
// than that.

Cheers,
Josh
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to