Closed
Bug 1452622
Opened 8 years ago
Closed 3 years ago
Large restyle on window activation on OSX.
Categories
(Firefox :: General, enhancement, P3)
Firefox
General
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: emilio, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [fxperf:p3])
See the profile in bug 1452525 comment 7. With that bug fixed, we'd spend ~70ms on window activation, where we only re-selector-match 23 elements, but we restyle 11k+.
That restyle is caused due to a CSS variable change in:
https://searchfox.org/mozilla-central/source/browser/themes/osx/browser.css#147-149
In particular, that causes the whole tab stripe to be recascade, because the properties need to be inherited.
This would get improved on our side by bug 1417970 (https://github.com/servo/servo/pull/20151), but seems worth fixing regardless whether that optimization lands.
Updated•8 years ago
|
Whiteboard: [fxperf]
Updated•8 years ago
|
Whiteboard: [fxperf] → [fxperf:p3]
Comment 1•8 years ago
|
||
The improvement of bug 1417970 is unlikely to be upliftable, because it's rather risky, so if we do care about the restyle shows up in bug 1452525 in beta, we may want to do something in the frontend... I'm not sure how bad that is, though.
Updated•8 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
Comment 2•3 years ago
|
||
Bit tricky without permalinks but I think comment 0 is pointing to https://searchfox.org/mozilla-central/rev/8904c372ca4cf110676be6e0d5626189a31d6e3b/browser/themes/osx/browser.css#142-145 - bug 1673321 removed these styles so I think this should be wfm. If not, let's clarify what is still causing issues here.
You need to log in
before you can comment on or make changes to this bug.
Description
•