Closed Bug 382528 Opened 13 years ago Closed 12 years ago

table with larger SVG inside doesn't expand

Categories

(Core :: SVG, defect)

x86
Linux
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: tuom.larsen, Unassigned)

References

Details

Attachments

(1 file)

413 bytes, application/xhtml+xml
Details
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)

When a DIV (overflow: auto) contains table which in turn contains an SVG element which has larger width than the table, the table won't scale but OTOH the DIV gets a scrollbar.

Reproducible: Always

Steps to Reproduce:
1. look at the attachment

Actual Results:  
the table remains unchanged

Expected Results:  
the table should be as wide as the svg
Attached file testcase
Component: General → SVG
Product: Firefox → Core
QA Contact: general → general
Actually the table will only expand to the width of its containing block (the div) and then the rest of the SVG will overflow. That's exactly what happens now in trunk builds after the patch for bug 294086.

Closing as fixed by 294086.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Depends on: 294086
Resolution: --- → FIXED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.