| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This should speed up window resize significantly.
Differential Revision: https://phabricator.services.mozilla.com/D118878
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This commit also removes the old restyle_hints module and splits it into
multiple modules under components/style/invalidation/element/.
The basic approach is to walk down the tree using compound selectors as needed,
in order to do as little selector-matching as possible.
Bug: 1368240
MozReview-Commit-ID: 2YO8fKFygZI
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1357461
MozReview-Commit-ID: DIzZXoHycZs
|
|
|
|
|
|
|
|
|
|
|
|
| |
refcounting the Device. r=heycam
This makes the code cleaner, and also documents the fact that effective_rules
recurses into imports.
No we're not adding the imported stylesheets twice, and we share code with the
invalidation analysis.
MozReview-Commit-ID: DOF2AViTlmR
|
|
|
|
|
|
|
|
|
|
| |
rules. r=heycam
Apparently my whole conception of how the list of sheets in the styleset looked
like was flawled, and we only ever get one append_sheet for the topmost
stylesheet, instead of one for each.
MozReview-Commit-ID: FMClygMJkTc
|
|
|
|
|
|
| |
rightmost selector while invalidating sheets. r=heycam
MozReview-Commit-ID: 2XGcOCTa7MV
|
|
|
|
| |
MozReview-Commit-ID: IhgKAovTJMX
|
|
code. r=heycam
MozReview-Commit-ID: 4jLxPYNF07U
|