mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
Also, for changes in CSS declarations, like changing cssRules[i].style.color or something, we end up avoiding a lot of the work we were doing. This page still trips us in the sense that they add a stylesheet, then call getBoundingClientRect(), then insert more rules in the stylesheet, which causes us to rebuild a lot of the cascade data. We could try to detect appends to the last stylesheet on the list or something I guess, and avoid rebuilding the cascade data in some cases. Depends on D85615 Differential Revision: https://phabricator.services.mozilla.com/D85616 |
||
---|---|---|
.. | ||
element | ||
media_queries.rs | ||
mod.rs | ||
stylesheets.rs |