- From: Payman Delshad <payman@opera.com>
- Date: Mon, 15 Feb 2010 18:30:55 +0100
- To: www-style@w3.org
Hi, In the following example: css: div { content:url(bg.svg); } html: <div></div> bg.svg: <svg xmlns="http://www.w3.org/2000/svg"> <rect id="r" fill="lime" stroke="lime" width="100%" height="100%"/> </svg> The containing block is a div (with no width or height) and the SVG file referenced from 'content' has the intrinsic width and height of 100%. There is no notion of how the width or height of the replaced content should be calculated in this case (e.g. in http://www.w3.org/TR/css3-content). This look like a bug in the CSS spec. -- Payman Delshad Core QA, Opera Software
Received on Monday, 15 February 2010 22:15:52 UTC