Open Bug 1349100 Opened 6 years ago Updated 8 months ago

stylo: Try to cache TextIsOnlyWhitespace after parallel traversal


(Core :: CSS Parsing and Computation, enhancement, P4)




Tracking Status
firefox57 --- wontfix


(Reporter: manishearth, Unassigned)


(Blocks 1 open bug)


In bug 1341086, we add ThreadSafeTextIsOnlyWhitespace and ThreadSafeIsSignificantChild, which both do the same thing as their non-threadsafe counterparts, but if the whitespace info is not cached we will recalculate and discard the info. This is suboptimal, and it would be nice if Stylo could still cache this info, maybe after traversal is over.

It should be possible to use the same framework that we plan to use in bug 1338982 (and bug 1345950)
Blocks: stylo-perf
Priority: -- → P4
Blocks: stylo
status-firefox57=wontfix unless someone thinks this bug should block 57
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.