- From: MURAKAMI Shinyu <murakami@antenna.co.jp>
- Date: Wed, 01 Apr 2009 10:55:24 +0900
- To: Hakon Wium Lie <howcome@opera.com>
- Cc: www-style@w3.org
Håkon Wium Lie <howcome@opera.com> wrote on 2009/04/01 1:34:28
> Also sprach MURAKAMI Shinyu:
>
> > I think that the text-replace should be applied to the result of the
> > white-space processing. Consider the following example:
> >
> > p { text-replace: "Soviet Union" "Russia"; }
> >
> > The following two paragraphs should be same (Hello Russia):
> > <p>Hello Soviet Union!</p>
> > <p>Hello Soviet
> > Union!</p>
> >
> > Our implementation (AH Formatter) does this.
>
> That seems useful. Does this mean that you don't replace in this
> case?:
>
> p {
> text-replace: "Soviet Union" "Russia";
> white-space: pre;
> }
>
> <p>Hello Soviet
> Union!</p>
>
Yes of course. The 'white-space:pre' prevents the replacement in such
case. I think it makes sense.
--
Shinyu Murakami
http://www.antennahouse.com
Antenna House Formatter
http://www.antenna.co.jp/AHF/en/
Received on Wednesday, 1 April 2009 01:56:11 UTC