49
edits
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
Some suggestions: | Some suggestions: | ||
* Treat <svg> as a replaced element (default inline). (I think we're already doing this?) Change the SVG spec for compound SVG documents so that if the "width" or "height" attributes are missing, instead of using "100%" (whatever that means) as the intrinsic width or height, we use the bottom or right edge of the rectangle that encloses the element's contents' overflow area as the intrinsic size reported to outer layout, and set the width/height as used by contained elements to zero. | * Treat <svg> as a replaced element (default inline). (I think we're already doing this? - no, not currently. bz looked at it and thought it would be best done after the reflow changes land in 1.9 - bug 294086) Change the SVG spec for compound SVG documents so that if the "width" or "height" attributes are missing, instead of using "100%" (whatever that means) as the intrinsic width or height, we use the bottom or right edge of the rectangle that encloses the element's contents' overflow area as the intrinsic size reported to outer layout, and set the width/height as used by contained elements to zero. | ||
* Fix svg elements so that they report a correct overflow area to CSS layout when content spills out of them. | * Fix svg elements so that they report a correct overflow area to CSS layout when content spills out of them. | ||
edits