Re: [css-text] text-shadow and inset

On Sat, Jul 27, 2013 at 1:03 PM, Simon Fraser <> wrote:
> On Jul 26, 2013, at 10:16 AM, Tab Atkins Jr. <> wrote:
>> Due to persistent developer requests, we're planning on implementing
>> 'inset' for text-shadow in Blink.  Does anyone have any strong
>> objections?  If not, can we update css-text (either level 3 or 4, I'm
>> not picky) to allow the keyword?
>> (It turns out that Skia has some features that make this not too hard
>> to implement in a performant manner, at least upon initial review.)
> I object unless you can specify the behavior of inset in terms of bezier path manipulations
> that can be performed by most graphics libraries.

Ignoring spread (which we aren't planning to add yet), there's no need
to specify anything special here.  To do an inset you just do a normal
shadow, clip it by the text path, and paint it at a different layer.

(I'd like spread for text-shadows, but that's irrelevant to the topic at hand.)


Received on Sunday, 28 July 2013 16:12:43 UTC