diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-02-09 17:18:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-09 17:18:08 -0500 |
commit | 6b1a74672d6b9d9c55b027b147b0a6eb8f727bfd (patch) | |
tree | e24e34756e02846e1b25b101ff16cdfcb6f59eca /components/script/stylesheet_loader.rs | |
parent | 41fb6ed1ffda877c24747a4d209bb32885ac6b2f (diff) | |
parent | f16e699db5ae9d587bf7ce06e87dbe07256c7e57 (diff) | |
download | servo-6b1a74672d6b9d9c55b027b147b0a6eb8f727bfd.tar.gz servo-6b1a74672d6b9d9c55b027b147b0a6eb8f727bfd.zip |
Auto merge of #20004 - emilio:author-sheet-collection, r=nox
style: Add infrastructure to have a standalone author stylesheet collection
Right now Gecko uses a whole `Stylist` for stuff like XBL / Shadow DOM.
That's not great, because it has tons of unrelated logic, and also eats up a lot of memory. Also, it prevents us to optimize style changes in shadow hosts the same way we do for the document.
These patches mostly rejigger stuff around so that you can define a `DocumentStylesheetSet` and then an `AuthorStylesheetSet`, which would contain just the Shadow DOM sheets / XBL resource sheets.
It still doesn't introduce any use for the later, but that will come later.
There's a patch in this PR that requires Gecko changes, posted in https://bugzilla.mozilla.org/show_bug.cgi?id=1436798.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20004)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/stylesheet_loader.rs')
0 files changed, 0 insertions, 0 deletions