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

Re: first-word pseudo-element

From: Daniel Glazman <glazman@netscape.com>
Date: Fri, 18 May 2001 09:39:00 +0200
Message-ID: <3B04D194.4040405@netscape.com>
To: Tantek Celik <tantek@cs.stanford.edu>, www-style@w3.org
Tantek Celik wrote:

>Oh Daniel, no need to make it so difficult.  We already have the concept of
>word in CSS1.
>
>This definition could work for example:
>
>  The :first-word pseudo-element denotes all characters in an element from
>its :first-letter up to and including the character after which
>'word-spacing' is first applied.
>
Tantek, who told you I understand and agree with the definition of 
'word-spacing' ? I find it incredibly western-languages centric

Furthermore, excerpt from the spec :

  <length>
  This value indicates inter-word space in addition to the default space
  between words. Values may be negative, but there may be implementation-
  specific limits.

But some languages have no space between words at all and we have no 
specification for that. In that case, what means 'word-spacing' ? 'Is it 
equal to 'letter-spacing' ? Is it purely UA-dependant ?

Without space between words in the text nodes, your definition of 
:first-word does not work...

</Daniel>
Received on Friday, 18 May 2001 03:38:40 GMT

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