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

Re: first-word pseudo-element

From: Sean B. Palmer <sean@mysterylights.com>
Date: Thu, 17 May 2001 14:41:54 +0100
Message-ID: <027e01c0ded7$4ec2d460$80d893c3@z5n9x1>
To: "Daniel Glazman" <glazman@netscape.com>, <andrew.robertson@capitaes.co.uk>
Cc: <www-style@w3.org>
> My answer, posted also on a regular basis, is the following one :
what
> is a word ? In our western languages and writings, it is quite easy
(but
> not always) to determine it.

You might consider a "to-content" selector then, where it applies
style until the first occurance of a certain character, or set of
characters (non inclusive). "First word" would be like :to-content("
") or whatever.

--
Kindest Regards,
Sean B. Palmer
@prefix : <http://webns.net/roughterms/> .
:Sean :hasHomepage <http://purl.org/net/sbp/> .
Received on Thursday, 17 May 2001 09:41:43 GMT

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