tags or
have the positioning set to fixed, there's no problem.
Demos
I set up 2 demos that recreate the problem, just follow these steps:
Step 1: Open Safari
Step 2: Set viewport to a height of 400px or smaller
Step 3: Hit Refresh
Step 4: Load http://nonsponsored.com/jqmodal/good.html and click the
'Open modal content' link
Result: You will see the modal content open and it will be taller than
the viewport but allow you to scroll.
Then to see it crash, follow the above steps again but load in
http://nonsponsored.com/jqmodal/bad.html. This time, Safari will crash
without loading the page.
The only difference between the 2 html files is that the one that
crashes has a <br /> tag after the modal content link.
Good: <a href="javascript:void(0)" class="showMoreViews">Open modal
content</a>
Bad: <a href="javascript:void(0)" class="showMoreViews">Open modal
content</a><br />
Any thoughts on why the <br /> is causing this?