W3C home > Mailing lists > Public > www-style@w3.org > September 2012

Re: [css3-writing-modes] before/after terminology alternative?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 23 Sep 2012 14:03:57 -0700
Message-ID: <CAAWBYDBU-EhLDyKE-D6UFU49zU=9VKXcQEwLcoxqw-Th7ZncCg@mail.gmail.com>
To: "Phillips, Addison" <addison@lab126.com>
Cc: Koji Ishii <kojiishi@gluesoft.co.jp>, Glenn Adams <glenn@skynav.com>, MURAKAMI Shinyu <murakami@antenna.co.jp>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>, "public-i18n-cjk@w3.org" <public-i18n-cjk@w3.org>
On Sun, Sep 23, 2012 at 1:57 PM, Phillips, Addison <addison@lab126.com> wrote:
> The problem here, for me, is that "head"/"foot" are more typical of the second category, while "before"/"after" are of the former. We *want* people to use logical identifiers whenever possible and to use identifiers that remind them that the direction, writing mode, or other changes may cause the interpretation of their style to change accordingly. Start/end and before/after *are* harder to understand for people who are making the assumption that the origin point of their page is always the upper left corner and that layout always proceeds in an horizontal-lr mode. But they are only just harder enough to understand that they remind folks that they are making an assumption (perhaps only exceedingly rarely violated in their lives) that may be incorrect. A small learning bump is definitely required to know what before/after mean in this context.

The argument for head/foot is that they map to "header" and "footer",
which are more clearly related to the text's logical direction.

The argument against before/after is that CSS already has the ::before
and ::after pseudo-elements, which are *completely* different.  (And
if you had to say which of the logical keywords they were more like,
it's start/end.)

These two, combined, are why we decided to switch over.

~TJ
Received on Sunday, 23 September 2012 21:04:45 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:00 GMT