Closed Bug 371428 Opened 13 years ago Closed 12 years ago

SVG does not render (crop effect) in HTML <TABLE> cell when window resizes

Categories

(Core :: SVG, defect)

1.8 Branch
defect
Not set

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: hui_km, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

When SVG tags are placed in HTML <TABLE>, SVG does not repaint when the window browser view area reduces to a width where the HTML table collapse in width (resizes) and the SVG image appeared 'crop'. When the window browser width is expanded again, the table expands to the available width of the page but the SVG image remained crop.

Reproducible: Always

Steps to Reproduce:
1. Place SVG rects tags(arranged in a 50x50 array for example) within a <div> tag  in the first cell of a 1 row x 2 column HTML table.
2. Resize the window until the page width reduction causes the table to collapse in width.
3. Resize the window again but this time expand the page width.
Actual Results:  
When the page reduce in width, the table collapses in width, the cell border  actually crops the SVG image. When the page width is expanded again (dragging the window borders), SVG image does not reinstate (repaint). At this point, repeating the same action but this time making the page even smaller causes the SVG image to crop even more.
Note: When the SVG image is not in the HTML table, THERE IS NO SUCH PROBLEM.

Expected Results:  
When the table collapses in width due to window resize, expect the cell border not to overlaps into the SVG image. 

Tried this on Windows 2000 and Fedora core 6. Both exhibit the same problem.
Assignee: nobody → general
Component: Extension Compatibility → SVG
Product: Firefox → Core
QA Contact: extension.compatibility → ian
Version: unspecified → 1.8 Branch
Could you attach a testcase?
Depends on: 294086
I can't reproduce this problem with the steps you've listed meng. Please attach a file showing the problem to this bug as requested by Tim. I'm going to mark this bug as INCOMPLETE until we have the information to understand your issue.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.