Open
Bug 1371487
Opened 8 years ago
Updated 3 years ago
stylo: We could enable limited style sharing between elements that have the same rules but different pseudo-element rules
Categories
(Core :: CSS Parsing and Computation, enhancement, P4)
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox57 | --- | wontfix |
People
(Reporter: bzbarsky, Unassigned)
References
(Blocks 2 open bugs)
Details
Now that we've done bug 1329361, I think we could add one more improvement on top of it if we wanted to.
Specifically, if we split revalidation selectors into ones for the element and ones for pseudo-elements, then even if one of the pseudo-element revalidation selectors fails we could still share the element's ComputedValues. We'd need to grab it and then run the "match the eager pseudos" bits from matching.rs to produce the right ElementStyles.
This is probably low-priority for now, since I'm not sure whether there are cases in practice in which this adds significantly to the sharing we can already do. Not marking this as blocking "stylo" for that reason.
| Reporter | ||
Updated•8 years ago
|
Blocks: stylo-memory, stylo-perf
Priority: -- → P4
Comment 1•8 years ago
|
||
status-firefox57=wontfix unless someone thinks this bug should block 57
status-firefox57:
--- → wontfix
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•