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

RE: Granularity

From: Jelks Cabaniss <jelks@jelks.nu>
Date: Fri, 27 Nov 1998 11:20:07 -0500
To: <www-style@w3.org>
Message-ID: <000701be1a21$cc4a0ac0$a56c9bd0@jones.com>
> Jelks Cabaniss wrote:
> >
> > In some books I've seen sections that start with the first (say)
> four words in
> > small caps.  Is there any plan for this capability in CSS?  Something like
> >
> >         p:first-words(4) { font-variant: small-caps }
>
> Correction : In some books in english or languages using latin scripts...
>
> So Jelks, what is a word ? Where starts and stops a word ? Is
>
> 	" s'is " in yiddish
> or	" l'été " in french
>
> made of 1 or 2 words ? Is " plate-forme " in french made of two
> words or is it a compound word ?
>
> In asiatic languages that don't have punctuations, where starts and
> stops a word ?...

You're right in the true sense of "word", but I mean't "word" in the loose sense
of "characters surrounded by whitespace".  Or, the Perlish:

		\s+(\S+)\s+

where the parenthetical expression is "a word".

/Jelks
Received on Friday, 27 November 1998 11:20:59 GMT

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