Closed Bug 317474 Opened 19 years ago Closed 17 years ago

SVG in XUL resists sizing.

Categories

(Core :: SVG, defect)

1.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: thermworm, Unassigned)

References

Details

Attachments

(1 file)

716 bytes, application/vnd.mozilla.xul+xml
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051120 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051120 Firefox/1.6a1

When an SVG tag appears in a XUL document the SVG area seems to have the same dimensions as the outer containing window and is *very* resistant to size styles.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Contains an SVG area with a "circle" exactly the same size as the area in it.
The SVG tag and the containing XUL box are both styled "height:200px; max-height:200px" but the SVG area ignores both and makes itself the same size as the containing window.
Assignee: nobody → general
Component: Tabbed Browser → SVG
Product: Firefox → Core
QA Contact: tabbed.browser → ian
Version: unspecified → 1.0 Branch
Fixed by the fix for bug 294086. Note that prior to that fix, SVG did not recognize the CSS 'width' and 'height' properties at all.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Depends on: 294086
Resolution: --- → FIXED
I'm going to hazard a guess that the fairly simple situation described here is addressed by at least one of the reftests in bug 294086.
Flags: in-testsuite+
Nope, I didn't create any XUL reftests as part of that bug I'm afraid.
Flags: in-testsuite+ → in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: