[css3-text] incorrect order of text operations

The CSS3 Text spec has a normative appendix listing the ordering of text operations:
http://dev.w3.org/csswg/css-text/#appendix-f-text-processing-order-of-oper

# 1. white space processing part I (pre-wrapping)
# 2. text combination [CSS3-WRITING-MODES]
# 3. text transformation
# 4. text wrapping while applying per line:
#    1. indentation
#    2. bidirectional reordering [CSS21] / [CSS3-WRITING-MODES]
#    3. white space processing part II
#    4. text orientation [CSS3-WRITING-MODES]
#    5. ‘letter-spacing’ and ‘word-spacing’
#    6. font/glyph selection and positioning [CSS21] / [CSS3-FONTS]
#    7. hanging punctuation 
# 5. justification (which may affect glyph selection and/or text
#    wrapping, looping back into that step)
# 6. text alignment 

There are a couple problems here:

1. The handling of 'text-combine-horizontal' takes place with
   'text-orientation', it's the point at which a text run is sliced
   into individual spans that are either horizontal or vertical in
   nature. It definitely happens *after* 'text-transform'.

2. Text alignment and justification should be grouped in the same
   step.  I think the steps for handling both of these are intertwined
   and it would be simpler to just group them together rather than
   making the handling of one normatively precede the other.

Regards,

John Daggett

Received on Thursday, 15 August 2013 14:16:45 UTC