Closed
Bug 539320
Opened 15 years ago
Closed 4 years ago
br {position:absolute;} in print stylesheet crashes [@ nsHTMLReflowState::GetHypotheticalBoxContainer] browser on print and print preview
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: eweyl, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7
Including
br {position: absolute;} in a print stylesheet causes Firefox to crash when print or print preview is selected.
Reproducible: Always
Steps to Reproduce:
1. Add br {position: absolute;} to your print stylesheet.
2. Open web page with that has your print stylesheet call and a <br /> in the code.
3. Select Print or Print Preview
Firefox crashes in Firefox on Mac, windows XP and Ubuntu
Actual Results:
Firefox crashes
Expected Results:
Page should print or print preview should appear.
Putting as critical since it causes a crash, but most people don't position break tags, so not a critical bug as in a common bug, but critical since it causes a crash.
use of default theme, and default installations (Windows has no extensions added, ubuntu and mac had multiple extensions)
Comment 1•15 years ago
|
||
A testcase for this bug would be very helpful. Adding mw22 to the bug...
Comment 2•15 years ago
|
||
can you attach a testcase and a crashid (see https://support.mozilla.com/en-US/kb/Mozilla%20Crash%20Reporter#Viewing_crash_reports)?
| Reporter | ||
Comment 3•15 years ago
|
||
i put a page in my sandbox
http://www.evotech.net/sandbox/brfirefoxcrash.html
the last line in the print css,
br {position: absolute;}
when removed, does not cause it to crash
http://www.evotech.net/sandbox/brfirefoxcrash2.html is a page with the last line in the css (print2.css) removed
Comment 4•15 years ago
|
||
http://crash-stats.mozilla.com/report/index/9c58f2ce-92fa-4f32-b6a6-6750d2100113
0 xul.dll nsHTMLReflowState::GetHypotheticalBoxContainer layout/generic/nsHTMLReflowState.cpp:707
1 xul.dll nsHTMLReflowState::InitAbsoluteConstraints layout/generic/nsHTMLReflowState.cpp:1148
2 xul.dll xul.dll@0x2f2418
3 xul.dll nsRuleNode::GetStylePosition layout/style/nsStyleStructList.h:87
4 xul.dll nsHTMLReflowState::Init layout/generic/nsHTMLReflowState.cpp:279
Wfm on trunk, I guess this was fixed by bug 509749 or bug 496742.
Summary: br {position:absolute;} in print stylesheet crashes browser on print and print preview → br {position:absolute;} in print stylesheet crashes [@ nsHTMLReflowState::GetHypotheticalBoxContainer] browser on print and print preview
Comment 5•15 years ago
|
||
Confirming - testcase crashes Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100105 Firefox/3.6 (.NET CLR 3.5.30729) quite easily.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → 3.6 Branch
Comment 6•4 years ago
|
||
Considering it does not seem to reproduce in latest versions and also considering the very old version originally affected, I will close this issue as worksforme.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•