- From: João Eiras <joaoe@opera.com>
- Date: Tue, 05 May 2009 18:31:13 +0200
> SVG images often don't have an intrinsic size. What's the intrinsic size of > this image? > <svg xmlns="http://www.w3.org/2000/svg"> > <linearGradient id="g" x1="0" y1="0" x2="1" y2="0"> > <stop stop-color="red" offset="0"/><stop stop-color="lime" offset="1"/> > </linearGradient> > <rect x="0%" y="0%" width="100%" height="100%" fill="url(#g)"/> > </svg> > > Rob This is the same as <table><tr><td><textarea></textarea></td></tr></table> where the Ua shrink wraps the table but the textarea inherit the parents width. This would cause a 0 width table, but currentl user agents rely on other attributes to get the intrinsic dimensions, like rows and cols for the table. In the SVG case, the UA could use default dimensions, like 300 per 300 -- Jo?o Eiras Core Developer, Opera Software ASA, http://www.opera.com/
Received on Tuesday, 5 May 2009 09:31:13 UTC