W3C home > Mailing lists > Public > www-style@w3.org > January 2007

Re: [CSS3 Text] punctuation-trim

From: MURAKAMI Shinyu <murakami@antenna.co.jp>
Date: Fri, 19 Jan 2007 04:25:09 +0900
To: www-style@w3.org
Message-Id: <20070119035019.3736.MURAKAMI@antenna.co.jp>

On Fri, 19 Jan 2007 00:36:07 +1300
fantasai <fantasai.lists@inkedblade.net> wrote:

> 
> MURAKAMI Shinyu wrote:
> > Hi,
> > 
> > The 'punctuation-trim' property is not yet represented in the current 
> > CSS3 Text draft. So I read the May 2003 CSS3 Text CR.
> > http://www.w3.org/TR/2003/CR-css3-text-20030514/#punctuation-trim
> > 
> >     Name:  punctuation-trim  
> >     Value:  none | start  
> >     Initial:  none  
> >     ...
> > 
> > I think it was insufficient. The following is my proposal.
> 
> I've checked with Paul Nelson, and we have decided to adopt your
> proposal for punctuation-trim. It should appear in the next draft. :)

Thanks!

> 
>  > adjacent
>  >     Fullwidth opening punctuation is trimmed if its previous adjacent
>  >     character is an opening punctuation or a fullwidth middle dot
>  >     punctuation.
>  >     Fullwidth closing punctuation is trimmed if its next adjacent
>  >     character is a closing punctuation or a fullwidth middle dot
>  >     punctuation or a fullwidth opening punctuation.
> 
> 
> Just to clarify, the 'adjacent' value in 'punctuation-trim' is a
> replacement for the AXF / old CSS3 Text kerning-mode 'contextual'?

Yes. We implemented the kerning-mode 'contextual' based on the old CSS3
spec because at that time CSS3-Text was candidate recommendation and we
did not expect such changes. But I thought the term 'contextual kerning' 
was not intuitive for Japanese punctuation processing and
'punctuation-trim' was better for it.

-- 
Shinyu Murakami
Antenna House XSL Formatter team
http://www.antennahouse.com
Received on Thursday, 18 January 2007 19:25:34 GMT

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