Re: [css-gcpm] order of text replace vs. whitespace processing

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>

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Tuesday, 31 March 2009 16:35:12 UTC