servo/components/style/invalidation
Emilio Cobos Álvarez ca7e1ecfd8 style: Invalidate for CSSOM changes in a more fine-grained way.
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
2021-02-26 16:44:05 +01:00
..
element style: Don't use attribute selectors for determining if a select is a drop down or a list box. 2021-02-26 16:44:05 +01:00
media_queries.rs style: Remove unnecessary mem::transmute in MediaListKey. 2019-01-13 21:58:28 +01:00
mod.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
stylesheets.rs style: Invalidate for CSSOM changes in a more fine-grained way. 2021-02-26 16:44:05 +01:00