зеркало из https://github.com/mozilla/gecko-dev.git
3b3de3f3e7
We need to ensure we have a unique inner so that ruleLists and such have the right pointer identity (we could do better, really, but it's harder). But as long as the CSSOM hasn't modified them there should be no reason not to use the cache. We can do a deep clone synchronously instead of refetching / reparsing. This is important because, as of right now, just using the inspector makes the stylesheets unique, which is unfortunate. We'll still have the modified rule bit for sheets with @import, because our notification system for @import is silly, and on parents of imported sheets. Fixing those are future improvements, but I see no reason not to land this. Differential Revision: https://phabricator.services.mozilla.com/D55163 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |