aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/stylesheet_loader.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2018-02-09 17:18:08 -0500
committerGitHub <noreply@github.com>2018-02-09 17:18:08 -0500
commit6b1a74672d6b9d9c55b027b147b0a6eb8f727bfd (patch)
treee24e34756e02846e1b25b101ff16cdfcb6f59eca /components/script/stylesheet_loader.rs
parent41fb6ed1ffda877c24747a4d209bb32885ac6b2f (diff)
parentf16e699db5ae9d587bf7ce06e87dbe07256c7e57 (diff)
downloadservo-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