Open Bug 609703 Opened 13 years ago Updated 6 months ago

browser hangs when calling a javascript to increase font size


(Firefox :: General, defect)

4.0 Branch





(Reporter: publisher, Unassigned)





(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b6) Gecko/20100101 Firefox/4.0b6

This URL is a development page for an HTML 5, browser-based eBook reader. It offers a preference pane that allows the user to increase or decrease the sizes of the fonts used in the story. There are four size to choose from: xSmall, Small, Medium & Large. Setting to xSmall or Small works but if you click the 3rd or 4th choices, the browser hangs. this is true in MacOS X and Windows Vista Business

All four selections work perfectly in Firefox 3.6.12 on a Mac.

Reproducible: Always

Steps to Reproduce:
1. Go to
2. CLICK / TAP the right margin 5 or 6 times to get in the body of the story
4. Change font sizes using the four selections in the lower right corner of the page. 
Actual Results:  
The first two font size selection work -- the fonts are set to the appropriate sizes. Selecting either of the last two (larger sizes) causes the browser to hang. 

Expected Results:  
The second to font size selectors should increase the size of the font in the story body.

Given that this code works in other browsers and in Firefox 3.6.12 on a Mac, I'm 99% certain it's not a javascript issue
Version: unspecified → 4.0 Branch
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.