Re: Last call comments on CSS3 module: color; musing and a transparent question

Coises wrote:
> 
> Is there any way to create the effect of text "masking" a (tiled) image?
> (Either negatively, as a "punch-through"; or positively, as a "stencil"?)

CSS authors are always finding surprising ways of doing things previously 
thought to be impossible (polygons anyone?) but I'm going to go out on a limb 
here and say that no, it's not current possible to achieve a punch-through 
effect using CSS.

It's certainly not something that the spec explicitly allows for.

I'm not sure how you could easily introduce it using the current painting model. 
How far should you punch through? What does it mean to punch through something 
that is punched through? etc.

-- 
Ian Hickson
``The inability of a user agent to implement part of this specification due to
the limitations of a particular device (e.g., non interactive user agents will
probably not implement dynamic pseudo-classes because they make no sense
without interactivity) does not imply non-conformance.'' -- Selectors, Sec13

Received on Friday, 24 May 2002 07:18:11 UTC