browser hangs when calling a javascript to increase font size

UNCONFIRMED
Unassigned

Status

()

Firefox
General
UNCONFIRMED
7 years ago
7 years ago

People

(Reporter: publisher, Unassigned)

Tracking

4.0 Branch
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
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 http://ipulpfiction.com/books/000DEMO-MrsAmworth/book/story.html/
2. CLICK / TAP the right margin 5 or 6 times to get in the body of the story
3. Select PREFERENCES
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
(Reporter)

Comment 1

7 years ago
Created attachment 488300 [details]
crash log generated by MacOS

Updated

7 years ago
Version: unspecified → 4.0 Branch
You need to log in before you can comment on or make changes to this bug.