Closed Bug 109097 Opened 23 years ago Closed 23 years ago

background:fixed and position:absolute crashes browser

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 108940

People

(Reporter: bugzilla-mozilla-20220926, Assigned: dbaron)

Details

The attached XHTML/CSS test case crashes Mozilla Linux build 2001110808; see Talkbacks TB37747465Q and TB37747338M. It was fine in yesterday's build 2001110708. The actual page that uses this has a lot more CSS in an external stylesheet, but I've reduced it to this simple case. Remove either of the styles and the browser won't crash.
I'm unable to attach a file via Mozilla or Netscape 4.x--it looks like Bugzilla is the problem--so here it is inline: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Test</title> </head> <body style="background:fixed"> <div style="position:absolute"></div> </body> </html>
dup of bug 108940?
Could be, although just having "background:fixed" or "background-position:fixed" doesn't crash.
The top of the stacks for both talkback reports is: nsView::SetVisibility() nsViewManager::InsertZPlaceholder() nsHTMLContainerFrame::CreateViewForFrame() nsCSSFrameConstructor::ConstructFrameByDisplayType() nsCSSFrameConstructor::ConstructFrameInternal() nsCSSFrameConstructor::ConstructFrame() nsCSSFrameConstructor::ContentAppended() StyleSetImpl::ContentAppended() PresShell::ContentAppended() nsDocument::ContentAppended() nsHTMLDocument::ContentAppended() HTMLContentSink::NotifyAppend() SinkContext::FlushTags() HTMLContentSink::CloseBody() CNavDTD::CloseBody() CNavDTD::CloseContainer() CNavDTD::CloseContainersTo() CNavDTD::CloseContainersTo() CNavDTD::DidBuildModel() nsParser::DidBuildModel() nsParser::ResumeParse()
*** This bug has been marked as a duplicate of 108940 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.