Open
Bug 1407022
Opened 7 years ago
Updated 2 years ago
stylo: Use the invalidation machinery to handle style rule mutations.
Categories
(Core :: CSS Parsing and Computation, enhancement, P4)
Core
CSS Parsing and Computation
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
People
(Reporter: emilio, Unassigned)
References
Details
When someone adds or removes a style rule, or mutates the declaration block inside it, we just restyle the whole page.
It'd be really nice, in the spirit of bug 1406622, to make the invalidation framework receive a set of top-level invalidations with the selectors mutated so far in the page, and use that machinery to invalidate the style in the page before processing restyles during the stylesheet flush.
This mechanism would be pretty useful for stuff like SelectorText and so on, and would make mutating the `style` of targeted rules on the page much faster.
It could potentially also supersede the analysis in bug 1357583, but it's not clear it'd be a win for those cases I believe...
Updated•7 years ago
|
Priority: -- → P4
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•