Closed Bug 786269 Opened 12 years ago Closed 12 years ago

Computed layout of the svg is not respecting the width and height attributes specified.

Categories

(Firefox :: Untriaged, defect)

14 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 530985

People

(Reporter: klakotko, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.81 Safari/537.1

Steps to reproduce:

I specified the width and height attributes of the svg to 300.
Then drew a rectangle within the svg at a size of 100x100 and placed it at 100x100.

http://jsfiddle.net/t4rVB/20/

Using firebug, look at the html tab and examine the layout of the svg. The svg has a height and width of 100.


Actual results:

The height and width of the svg is computed at 100x100 or the size of the drawn rectangle.


Expected results:

The height and width of the svg should have been 300x300.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.