Re: [css-counter-styles] Ambiguity with prefixes

On Wed, Sep 5, 2012 at 11:03 PM, Roland Steiner
<> wrote:
> The paragraph on prefixes
> ( states:
> "Prefixes are added to the representation after negative signs." Does this
> mean "prepend the prefix after the negative sign has been applied", or "in
> the position after the negative sign"? I.e., with
>     prefix: '/';
> Will -3 be represented as '/-3' or '-/3' ?
> Technically, the paragraph on 'suffix' is similarly ambiguous, but both
> readings will give the same result.

I think it's technically well-defined (you apply the negative sign,
then the prefix, and the prefix is added by prepending it to the
representation so far), but I can clarify it a bit in the spec.

For your example, the intended representation is "/-3".  When used
with more traditional prefix/suffixes, like "(" and ")", it'll look
like "(-3)".


Received on Thursday, 6 September 2012 06:36:49 UTC