Consider caching getComputedStyle styles in display: none subtrees.
Categories
(Core :: CSS Parsing and Computation, defect, P4)
Tracking
()
People
(Reporter: mconley, Assigned: emilio)
References
(Blocks 1 open bug)
Details
(Keywords: perf, Whiteboard: [Stylo])
Attachments
(3 files)
Comment 1•8 years ago
|
||
| Reporter | ||
Comment 2•8 years ago
|
||
| Reporter | ||
Updated•8 years ago
|
Comment 3•8 years ago
|
||
| Assignee | ||
Comment 4•8 years ago
|
||
| Assignee | ||
Comment 5•8 years ago
|
||
| Reporter | ||
Comment 6•8 years ago
|
||
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 8•8 years ago
|
||
| Assignee | ||
Comment 9•8 years ago
|
||
| Assignee | ||
Comment 10•8 years ago
|
||
Updated•8 years ago
|
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Comment 13•8 years ago
|
||
Comment 14•8 years ago
|
||
| Assignee | ||
Comment 15•8 years ago
|
||
Updated•8 years ago
|
Comment 16•8 years ago
|
||
Comment 17•8 years ago
|
||
| Reporter | ||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 18•8 years ago
|
||
| Assignee | ||
Comment 19•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 20•8 years ago
|
||
Updated•8 years ago
|
Comment 22•8 years ago
|
||
Updated•8 years ago
|
Comment 23•8 years ago
|
||
Comment 24•8 years ago
|
||
Updated•8 years ago
|
| Assignee | ||
Comment 25•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
| Assignee | ||
Comment 26•8 years ago
|
||
Comment 27•8 years ago
|
||
| Assignee | ||
Comment 28•8 years ago
|
||
Comment 29•8 years ago
|
||
| Assignee | ||
Comment 30•8 years ago
|
||
Updated•8 years ago
|
| Assignee | ||
Comment 31•8 years ago
|
||
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Comment 32•7 years ago
|
||
See bug 1547409. Migrating webcompat priority whiteboard tags to project flags.
Updated•4 years ago
|
Comment 34•4 years ago
|
||
The webcompat issue linked in that bug is not reproducing anymore. It's just a perf issue (maybe) for some unknown sites.
Updated•4 years ago
|
| Assignee | ||
Comment 36•4 years ago
|
||
This reuses our existing undisplayed style generation, but in a
per-document rather than per-nsComputedDOMStyle object, which means that
we can avoid re-resolving styles of elements in display: none subtrees
much more often.
This brings the test-case in the bug to par with other browsers or
better, and is much simpler than the initial approach I tried back in
the day.
| Assignee | ||
Updated•4 years ago
|
Comment 37•4 years ago
|
||
Nice :-)
| Assignee | ||
Comment 38•4 years ago
|
||
I had to fix a couple pre-existing under-invalidation issues, but should be green now:
https://treeherder.mozilla.org/jobs?repo=try&revision=0850057c9752cad29bbff59dbcf74cfbbad3899e
Comment 39•4 years ago
|
||
Comment 40•4 years ago
|
||
| bugherder | ||
Description
•