W3C home > Mailing lists > Public > public-fx@w3.org > April to June 2013

Re: [css-compositing] blending and inline SVG

From: Dirk Schulze <dschulze@adobe.com>
Date: Mon, 20 May 2013 15:42:51 -0700
To: Rik Cabanier <cabanier@gmail.com>
CC: www-svg <www-svg@w3.org>, "public-fx@w3.org" <public-fx@w3.org>
Message-ID: <0664784E-0708-41C7-926F-D797EAA7A701@adobe.com>

On May 20, 2013, at 3:39 PM, Rik Cabanier <cabanier@gmail.com> wrote:

> On Mon, May 20, 2013 at 1:55 PM, Dirk Schulze <dschulze@adobe.com> wrote:
> On May 20, 2013, at 11:16 AM, Rik Cabanier <cabanier@gmail.com> wrote:
> > All,
> >
> > I was editing the chapter on isolation [1] and wondered if inline svg should happen in an isolated group. (So the <svg> tag would establish a new group/stacking context)
> > It seems that it would be very hard to implement if this was not the case.
> >
> > Is everyone that inline SVG is always isolated?
> >
> > We also need to discuss what other constructs in SVG create isolation. The current filter spec assumes that nothing does, but that doesn't correspond with reality.
> The first question is how inline SVG cooperates with HTML in general. We did not specify that anywhere to my knowledge. In Blink and WebKit inline SVG elements are handled as replacement elements, same as <img>, <video> or <canvas>. It would make sense to not treat inline SVG elements different from the other elements for these two engines. However, I would like to understand where you see the technical difference to other "graphical" HTML elements like <div> or <p>.
> I'm unsure what you are asking. 
> Browser are indeed treating svg as a canvas (and not as a change from the css box model to the svg drawing model) so it makes sense to have the content isolated.

I was more revering to the sentence "It seems that it would be very hard to implement if this was not the case.". The question is why it would be harder for SVG. Treating SVG as replacement element is not necessarily a problem for not having an isolation group IMO. The question is although: Should <video> always create an isolation group?

Received on Monday, 20 May 2013 22:43:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:45 UTC