Re: [css4-images] support for SVG Paint Servers without element()



On Oct 24, 2012, at 2:51 PM, "Robert O'Callahan" <robert@ocallahan.org<mailto:robert@ocallahan.org>> wrote:

On Wed, Oct 24, 2012 at 4:19 AM, Dirk Schulze <dschulze@adobe.com<mailto:dschulze@adobe.com>> wrote:
Btw. you will run into the same problem with the 'fill' and 'stroke' properties. Both will take a paint server reference and a <image> value in SVG 2. (Resolved during the last SVG F2F.) This is why it makes more sense to be consistent IMO.

That is a big problem :-(. I'll bring it up with the SVG working group.

Apart from what I already mentioned, we apply a same-origin restriction when loading external resource documents but not when loading images.

Means resources like SVG mask, gradient,patterns,filters,clippath must be from the same origin? Why that? SVG does not have such restrictions.


The latter can't be changed without breaking compat, but changing the former may expose security issues.


Can you give me an example? How can an external mask cause a security issue? How do you handle it on pure SVGs?

Dirk

Rob
--
“You have heard that it was said, ‘Love your neighbor and hate your enemy.’ But I tell you, love your enemies and pray for those who persecute you, that you may be children of your Father in heaven. ... If you love those who love you, what reward will you get? Are not even the tax collectors doing that? And if you greet only your own people, what are you doing more than others?" [Matthew 5:43-47]

Received on Wednesday, 24 October 2012 21:57:06 UTC