- From: MURAKAMI Shinyu <murakami@antenna.co.jp>
- Date: Wed, 01 Nov 2006 01:44:26 +0900
- To: www-style@w3.org
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. Name: punctuation-trim Value: none | auto | [start || end || adjacent] Initial: auto Applies to: block-level and inline-block elements Inherited: yes Percentages: N/A Media: visual Computed value: specified value (except for initial and inherit) This property determines whether or not a fullwidth punctuation character should be trimmed if it appears at the start or end of a line, or adjacent to another punctuation. Possible values: none Punctuations are not trimmed. start Fullwidth opening punctuation is trimmed at the start of a line. end Fullwidth closing punctuation is trimmed at the end of a line. 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. e.g., Opening - Opening: 〔( is rendered as 〔( Middle Dot - Opening: ・( is rendered as ・( Closing - Closing: )〕 is rendered as )〕 Closing - Middle Dot: )・ is rendered as )・ Closing - Opening: )〔 is rendered as )〔 Here, (Japanese) Fullwidth opening punctuations: 「『(‘“〔[{〈《【 Fullwidth closing punctuations: 」』)’”〕]}〉》】。.、, Fullwidth middle dot punctuations: ・:; (Korean) Fullwidth opening punctuations: 「『(‘“〔[{〈《【 Fullwidth closing punctuations: 」』)’”〕]}〉》】。.、, Fullwidth middle dot punctuations: :; (Simplified Chinese) Fullwidth opening punctuations: 「『(‘“〔[{〈《【 Fullwidth closing punctuations: 」』)’”〕]}〉》】。.、, Fullwidth middle dot punctuations: none (Traditional Chinese) Fullwidth opening punctuations: 「『(‘“〔[{〈《【 Fullwidth closing punctuations: 」』)’”〕]}〉》】 Fullwidth middle dot punctuations: :;。.、, auto The UA determines the punctuation trimming mode. It may be equivalent to "start end adjacent" that is most preferable for standard Japanese typography [JIS X 4051], or may be equivalent to "none" for low cost processing. -- Shinyu Murakami Antenna House XSL Formatter team http://www.antennahouse.com
Received on Tuesday, 31 October 2006 16:44:30 UTC