- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Thu, 18 Jun 2015 07:23:36 +0200
- To: Benjamin Francis <bfrancis@mozilla.com>
- Cc: Maciej Stachowiak <mjs@apple.com>, WHAT Working Group <whatwg@lists.whatwg.org>
On Wed, Jun 17, 2015 at 9:42 PM, Benjamin Francis <bfrancis@mozilla.com> wrote: > It makes sense to me, an image element can have a src attribute of > "image.jpg" and have a mask set to "mask.svg" in the mask CSS property. > The equivalents here are the href attribute and the mask attribute, It's > just that in your case you want to specify a solid colour to mask instead > of an image, so you would omit the href attribute. > > That said, I'm not opposed to the creation of a new link relation with > option A.2 if that's what people would prefer. Not giving <link> another way to fetch resources seems preferable. Might get tricky with error/load events and future fetching APIs otherwise. -- https://annevankesteren.nl/
Received on Thursday, 18 June 2015 05:24:12 UTC