W3C home > Mailing lists > Public > www-style@w3.org > April 2012

Re: Concern about -webkit-mask

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 18 Apr 2012 17:50:28 +1200
Message-ID: <CAOp6jLaymP8M2FzYquTiCwBnrXHBG4CBLYYQYf-qoje2=QRTzQ@mail.gmail.com>
To: John Daggett <jdaggett@mozilla.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
SVG 'mask' should 'just work' on HTML, the same way we've defined SVG
'filter' to 'just work' on HTML. SVG masks have the unfortunate properties
that they require an external mask element and they use luminance instead
of alpha to define the mask operation, so I think something like
-webkit-mask is also useful. Someone should look at the ways people are
using -webkit-mask, then ideally we can extend SVG 'mask' with enough of
the -webkit-mask syntax to cover that usage (and for that syntax, mask
using alpha instead of luminance); if not I guess we'll have to define a
new property with the functionality of -webkit-mask.

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, 18 April 2012 05:51:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT