W3C home > Mailing lists > Public > www-style@w3.org > May 2002

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

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 24 May 2002 12:18:02 +0100
Message-ID: <3CEE216A.6020805@hixie.ch>
To: Coises <Randy@coises.com>
CC: www-style@w3.org
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:02 UTC