Closed Bug 401775 Opened 12 years ago Closed 12 years ago

Inline SVG in table doesn't expand cell width

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: philip, Unassigned)

References

Details

Attachments

(1 file)

3.72 KB, application/xhtml+xml
Details
User-Agent:       Opera/9.24 (X11; Linux i686; U; en)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a9pre) Gecko/2007102904 Minefield/3.0a9pre

When a table cell contains an inline <svg>, the cell's height stretches to fit the SVG, but its width does not.

Reproducible: Always

Steps to Reproduce:
0. See attached example.
Actual Results:  
Both table columns are the same width. The second table row is much taller than the first row. The graph in the bottom-right cell fits within the cell's top/bottom borders, but overlaps the right border.

Expected Results:  
The second column should be wide enough to contain the SVG.

This works like I expected in Firefox 2 and in Opera 9.5.
Attached file demonstration
Yeah, fixed by the fix for bug 294086.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Depends on: 294086
Resolution: --- → FIXED
Flags: in-testsuite?
Blocks: 618675
You need to log in before you can comment on or make changes to this bug.