W3C home > Mailing lists > Public > www-style@w3.org > November 2004

Re: Text masking...

From: David Woolley <david@djwhome.demon.co.uk>
Date: Mon, 1 Nov 2004 07:48:55 +0000 (GMT)
Message-Id: <200411010748.iA17mts00806@djwhome.demon.co.uk>
To: www-style@w3.org

> I know I'm probably going to get a lot of scrutiny from this post, but I =
> thought, "What the hell."  It's just a simple idea, although it'd be =
> very hard to implement.  What I'm suggesting is a special background =
> type for text-based elements in CSS.

What you are proposing is actually a standard PostScript operator.  However,
it is, however, treated as a foreground operation, not one with backgrounds;
one makes a selection mask with the text then paints that.

I don't see that such an operator poses any great CSS language problems,
although it might bloat the renderer.  The real question is how many 
features should you really have in what is supposed to be a simple language.
> I'm talking about.  Yes, it is possible to create the same thing as a =
> stand-alone .jpg or .gif and then simply upload it to the site.  =

You fail to mention the primary reason why this is undesirable; it
is abusing an image mechanism to render text (and often is accompanied
by a failure to provide alt attributes to mitigate the use of images).
It should not be considered a valid way of writing CSS/HTML web pages.

PS please save bandwidth by posting plain text only.
Received on Monday, 1 November 2004 07:48:59 UTC

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