W3C home > Mailing lists > Public > www-style@w3.org > December 1995

Re: text transformations in CSS?

From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
Date: Fri, 8 Dec 1995 15:30:17 -0500
Message-Id: <199512082030.PAA08039@undergrad.math.uwaterloo.ca>
To: preece@predator.urbana.mcd.mot.com (Scott E. Preece)
Cc: www-style@w3.org
At 10:13 AM 12/8/95 -0600, Scott E. Preece wrote:
>
>Has the group thought about including more general textual
>transformations in CSS?  Something like
>
>	P.abstract	{text-edit: "<B>Abstract</B> #value"}

The style sheet mechanism should definately not change the parse tree of the
SGML document.  "Before text" and "After text" are okay, but elements should
not be introduced.  If you want to put formatting within your text
transformations, you should create a new, non-HTML formatting language whose
parser is called only during the processing of the STYLE element.

This is, again, an issue of separating form and content.  If the style sheet
can modify the parse tree, it will become impossible to validate the HTML
document without "testing it out" with every style sheet engine.

 Paul Prescod
Received on Friday, 8 December 1995 15:30:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:43 GMT