W3C home > Mailing lists > Public > www-style@w3.org > October 2003

Re: CSS21 Syndata.html Section 4

From: Tex Texin <tex@i18nguy.com>
Date: Wed, 15 Oct 2003 21:42:09 -0400
Message-ID: <3F8DF771.AFB20E72@i18nguy.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: www-style@w3.org, W3c I18n Group <w3c-i18n-ig@w3.org>


ok, now I see what you mean about the connection between \A and white-space.

I was thinking I might want the output to be data (perhap in a file) that was
going to be sent to a specific model printer.
I have no way of emitting U+000A, if that is what the device needs for an
escape sequence or line control.

It is perhaps not a large problem, if the device has its own escape mechanism
for specifying characters.

As for the text, I agree, but I would remove the parentheses as well since this
is actually the place defining that \A stands for newline.

To include a newline in a string, use the escape "\A" (hexadecimal A is the
line feed character in Unicode, but represents the generic notion of "newline"
in CSS).


To include a newline in a string, use an escape representing the line feed
character in Unicode (U+000A), such as "\A"
or "\00000a". This character represents the generic notion of "newline" in CSS. 

Just a suggestion and I recognize you probably can't use the Unicode notation
without changing a number of other character references. For consistency I
guess you can replace 'U+000A' with 'character 10 in Unicode or "A" in


"L. David Baron" wrote:
> On Wednesday 2003-10-15 19:47 -0400, Tex Texin wrote:
> > However, the example referenced in "content", has to do with generating text
> > and the output format generally does not have those grammatical rules, and in
> > fact may be destined for a media which there is a significant difference
> > between lf, nl, etc. (For example to a specific printer.)
> I don't see how the destination medium is relevant.  The content
> generated by the 'content' property will be processed as described in
> section 16.6 [1], just like any other content.
> > However, the questions about whether \a, \0A and \0a are equivalent to \A
> > should also be addressed.
> I think they're definitely equivalent.  If anything suggests that they
> aren't, it should be fixed.  I guess that means we should change, in
> section 4.3.7 [2], the text
>   use the escape "\A"
> to be:
>   use an escape such as "\A"
> -David
> [1] http://www.w3.org/TR/2003/WD-CSS21-20030915/text.html#white-space-prop
> [2] http://www.w3.org/TR/2003/WD-CSS21-20030915/syndata.html#strings
> --
> L. David Baron                                <URL: http://dbaron.org/ >

Tex Texin   cell: +1 781 789 1898   mailto:Tex@XenCraft.com
Xen Master                          http://www.i18nGuy.com
XenCraft		            http://www.XenCraft.com
Making e-Business Work Around the World
Received on Wednesday, 15 October 2003 23:54:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:09 UTC