Closed Bug 292367 Opened 20 years ago Closed 17 years ago

SVG in xul stack z-order incorrect

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: garyvdm, Unassigned)

Details

Attachments

(1 file)

497 bytes, application/vnd.mozilla.xul+xml
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050427 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050427 Firefox/1.0+

If you have a svg element in a xul stack, it all ways renders on top, regardles
of is position in the stack.

Reproducible: Always

Steps to Reproduce:
1. Create a xul:stack in a window.
2. Place a svg element in the stack, in the first postion
3. Place a xul:button in the stack, after the svg element.

Actual Results:  
The svg element renders ontop of the xul:button

Expected Results:  
The svg element renders below of the xul:button
Attached file Testcase
Summary: SVG in xul stack zorder incorcet → SVG in xul stack z-order incorrect
Note that <xul:stack> is generally a simplistic hack that violates the painting
model in numerous ways and breaks in the presence of all sorts of things
(opacity, clipping, positioning, etc, etc).  So this may not even be an SVG bug,
and probably isn't if SVG outer frames have a view.
this seems to have been fixed in current trunk (xulrunner at least), but it crashed when I did a rollover on the button
(In reply to comment #3)
> this seems to have been fixed in current trunk (xulrunner at least), but it
> crashed when I did a rollover on the button
> 

actually the crash occurs on rollover of the svg:rect

also tested with latest minefield nightly and the render order seems to be fixed

Marking as WORKSFORME based on comment 3.

Please raise another but about crashing on rollovers with a testcase assuming it is still crashing on the latest nightlies.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Yhea - It's working in Fx3b1 , and no longer crashes on mouse over. Thanks.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: