Closed Bug 1129852 Opened 10 years ago Closed 7 years ago

[Header] We should not recalculate the font size in overflow state if the available space is the same

Categories

(Firefox OS Graveyard :: Gaia::Components, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: julienw, Unassigned)

Details

See https://github.com/gaia-components/gaia-header/blob/9295b3dbb2f3aef43327de44f1ba301dff8a1a4a/gaia-header.js#L230-L237 If marginStart is 0 we don't need to recalculate because the result will be the same.
Blocks: 1129853
No longer blocks: 1129853
This would win ~3ms only on Flame. So not much.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.