W3C home > Mailing lists > Public > www-style@w3.org > July 2013

Re: [css-masking] 'mask: none' clear all masking operations

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 12 Jul 2013 14:29:10 -0700
Message-ID: <CAOp6jLZJXOvPGwvrm3u4a9xzyais5WR9RQQqV7PhsCEsA6y3EQ@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>, Simon Fraser <smfr@me.com>
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  *
*
Received on Friday, 12 July 2013 21:29:38 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:30 UTC