aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/stylesheet_set.rs
Commit message (Collapse)AuthorAgeFilesLines
* stylo: Run the stylehseet invalidation pass also for stylesheet removals.Emilio Cobos Álvarez2017-07-091-5/+13
| | | | | | | | | People apparently do all sorts of silly stuff with stylesheets, see Google Inbox in bug 1379203. Bug: 1379433 Reviewed-By: heycam MozReview-Commit-ID: 4x2d3glOFu8
* stylo: Fix StyleSheetInner/Stylesheet mappingEmilio Cobos Álvarez2017-07-021-75/+64
| | | | | | The key of this patch is the split between Stylesheet and StylesheetContents. Gecko will use StylesheetContents, which maps to a ServoStyleSheetInner.
* Add an update_stylesheet method to StylesheetSet.Brad Werth2017-06-201-0/+17
| | | | MozReview-Commit-ID: KlRkApYL8wk
* Cache effective media query results.Emilio Cobos Álvarez2017-06-031-0/+5
| | | | | | | | | | | This patch also makes RulesIterator not iterate over rules for which we don't process nested rules. There's nothing depending on this behavior right now afaik, and this will make us duplicate less code in following patches. Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1357461 MozReview-Commit-ID: CaMFQtAVnJF
* style: Move the stylesheet invalidation code to another submodule.Emilio Cobos Álvarez2017-06-031-1/+1
| | | | | Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1357461 MozReview-Commit-ID: DIzZXoHycZs
* Bug 1357583: Add a bunch of logging, shortcuts, and look also at the ↵Emilio Cobos Álvarez2017-05-291-0/+6
| | | | | | rightmost selector while invalidating sheets. r=heycam MozReview-Commit-ID: 2XGcOCTa7MV
* Bug 1357583: style: Hook up the invalidator in the StyleSheetSet. r=heycamEmilio Cobos Álvarez2017-05-291-9/+55
| | | | MozReview-Commit-ID: IhgKAovTJMX
* Bug 1363572 Part 1: Servo-side change stylesheet_set entry unique_id to u64.Brad Werth2017-05-121-7/+7
| | | | MozReview-Commit-ID: 2QZGCbN9xc8
* stylo: Stop cloning the list of stylesheets each flush.Emilio Cobos Álvarez2017-05-121-5/+16
|
* Use StyleArc in the style system.Bobby Holley2017-05-021-1/+1
| | | | MozReview-Commit-ID: flF0fv9E9M
* Change StyleSet to track stylesheets by unique ID.Brad Werth2017-05-021-23/+44
| | | | MozReview-Commit-ID: Ky3P53o4Euw
* stylo: Centralize stylesheet handling.Emilio Cobos Álvarez2017-04-191-0/+105
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.