Closed
Bug 597513
Opened 15 years ago
Closed 15 years ago
Inline auto-sized <svg> with margin-left is too wide (sticks out of container's border-box)
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
INVALID
People
(Reporter: dholbert, Unassigned)
Details
Attachments
(1 file)
418 bytes,
text/html
|
Details |
See attached testcase -- with margin-left applied, the <svg> background-box sticks out of its container's border-box. If I replace the SVG with a <div> (as shown in the lower half of the textcase), it doesn't stick out.
Reporter | ||
Comment 1•15 years ago
|
||
Reporter | ||
Comment 2•15 years ago
|
||
d'oh, just realized this is INVALID. The difference is that the div has default width = "auto", whereas the SVG has default width = "100%".
If I add style="width:100%" to the div, it matches the SVG.
Sorry for the bug spam. :)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•