stylo: Centralize stylesheet handling.

This is needed for both bug 1357461 and bug 1273303, where I plan to add smarter
invalidations than what we have now.

Also, it's cleaner.

Ideally I'll move this onto stylist, though that may require extra work to make
it work fine for Servo, so for now let's just do the obvious thing.
This commit is contained in:
Emilio Cobos Álvarez 2017-04-18 18:05:06 +02:00
parent 2b353e04f0
commit 97235d0bf7
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 129 additions and 36 deletions

View file

@ -116,6 +116,7 @@ pub mod stylist;
pub mod sequential;
pub mod sink;
pub mod str;
pub mod stylesheet_set;
pub mod stylesheets;
pub mod supports;
pub mod thread_state;