Closed Bug 1039209 Opened 10 years ago Closed 6 years ago

Use header.scrollWidth in font_size_utils to avoid creating a canvas if the text fits

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gmarty, Unassigned)

References

Details

Compare header.scrollWidth and header.clientWidth and don't call getMaxFontSizeInfo().
This will save the creation of a canvas.
Blocks: 908300
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.