Closed Bug 321531 Opened 14 years ago Closed 12 years ago
SVG in <object> doesn't size right
<object> elements containing SVG are not sizing correctly. They're defaulting to 300x150 instead of taking the intrinsic size from the image. TESTCASES: http://www.hixie.ch/tests/adhoc/css/box/replaced/intrinsic/svg/ SPECS: http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width http://www.w3.org/TR/SVGMobile12/coords.html#IntrinsicSizing See also bug 80713.
Making outer <svg> a replaced element is bug 288276.
scaling up and down demonstrates issue
jonathan, your "reduced test case" and scaling has nothing to do with this bug. I think you don't understand the meaning of the issue Hixie mentioned. In my opinion, this bug is a very important one. Its like you would have to tell every (!) single embeded jpg in <img> tag a width and height attribute! terrible.
Hixie's testcases are fixed on trunk; I think jwatt fixed this as part of bug 294086.
Hmm, two different Jonathan's, and the Jonathan who attached the testcase isn't CC'ed and likely didn't see comment 3. Confusing. :-) Anyways, yes, Hixie's testcases were fixed as part of bug 294086. The fix will be in Firefox 3.
Status: NEW → RESOLVED
Closed: 12 years ago
Depends on: 294086
Resolution: --- → FIXED
Tons of reftests were added as part of bug 294086. See the object--* tests in: http://lxr.mozilla.org/seamonkey/source/layout/reftests/svg/sizing/
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.