Closed
Bug 1926825
Opened 1 year ago
Closed 1 year ago
optimize FontSizeInflationListMarginAdjustment
Categories
(Core :: Layout, enhancement)
Core
Layout
Tracking
()
RESOLVED
FIXED
134 Branch
| Tracking | Status | |
|---|---|---|
| firefox134 | --- | fixed |
People
(Reporter: tnikkel, Assigned: tnikkel)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sp3])
Attachments
(1 file)
No description provided.
| Assignee | ||
Comment 1•1 year ago
|
||
This does show up in profiles and it usually does nothing.
On desktop font inflation is disabled, so the nsLayoutUtils::FontSizeInflationFor check always returns early.
On mobile, most block frames do not have a marker, so we can do a fast frame state bit check to avoid the slow block frame check (which uses the slow path of query frame).
Pushed by tnikkel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/06f5cf917ecf
Optimize FontSizeInflationListMarginAdjustment. r=layout-reviewers,jwatt,emilio
Comment 3•1 year ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox134:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
Updated•1 year ago
|
Whiteboard: [sp3]
Updated•1 year ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-848
You need to log in
before you can comment on or make changes to this bug.
Description
•