W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2012

Re: [whatwg] Separating intrinsic sizing out from the iframe seamless attribute

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 18 Oct 2012 17:24:45 -0700
Message-ID: <CAAWBYDCRke5gjV04yUnJVZk+a0a=_YyrK+Fu+0HTyVdKXc3Feg@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: whatwg@lists.whatwg.org, Jonathan Watt <jwatt@jwatt.org>
On Thu, Oct 18, 2012 at 4:14 PM, Ian Hickson <ian@hixie.ch> wrote:
> On Wed, 18 Jul 2012, Jonathan Watt wrote:
>> The use cases are simple. I want to be able to embed SVG as-a-document
>> (not as-an-image) and have it size to its intrinsic size, without
>> messing up the style of the SVG.
> That's not a use case, that's a solution. What's the actual use case? i.e.
> why do you want to embed SVG as a document?

Further, CSS should be adding a mechanism to reset styles anyway - as
soon as fantasai and I have another free day together to write the
Cascade module, we'll add an 'all' property, which only takes the
global keywords.

Once we then add the 'default' global keyword (lets you reset to the
UA stylesheet), you can just say ":root { all: default; }" in your SVG
document, and not worry about inheritance polluting your SVG styling.

That doesn't help the "import all the stylesheets into the iframe"
part, but shrug.

Received on Friday, 19 October 2012 00:25:59 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:17 UTC