On Fri, Jul 12, 2013 at 5:49 AM, Dirk Schulze <dschulze@adobe.com> wrote:
> On Jul 12, 2013, at 2:28 AM, Robert O'Callahan <robert@ocallahan.org>
> wrote:
>
> > I thought we had agreed to solve this by, for url() values for SVG
> properties like 'mask', if they contain anything other than a plain #ref,
> perform an image load, check for same-origin and then checking the loaded
> image to see if the URL refers to a <mask> element an SVG image.
>
> Yes, this is point 1) on the option list.
No, it isn't.
Your option 1 says "if there is an hash, assume it is an SVG resource,
otherwise an CSS Image". I thought we had agreed to "if there is an hash
*and the referenced element is of the right type* assume it is an SVG
resource, otherwise an CSS Image." So for 'mask', the referenced element
will only be treated as an SVG resource if it's a <mask>.
Rob
--
Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoaus eanuttehrotraiitny eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o Whhei csha iids teoa
stiheer :p atroa lsyazye,d 'mYaonu,r "sGients uapr,e tfaokreg iyvoeunr,
'm aotr atnod sgaoy ,h o'mGee.t" uTph eann dt hwea lmka'n? gBoutt uIp
waanndt wyeonut thoo mken.o w *
*