W3C home > Mailing lists > Public > www-style@w3.org > December 2010

Re: [css3-text] Proposal to add "text-decoration-skip: decoration-boundary"

From: Ambrose LI <ambrose.li@gmail.com>
Date: Fri, 3 Dec 2010 15:24:09 -0500
Message-ID: <AANLkTikwgFXm0LOzMey_psh=dHPd_x31Nt=pxuGgM5qs@mail.gmail.com>
To: "KangHao Lu (Kenny)" <kennyluck@w3.org>
Cc: WWW Style <www-style@w3.org>, Ethan Chen <chief@ethantw.net>, CJK discussion <public-i18n-cjk@w3.org>
2010/12/3 KangHao Lu (Kenny) <kennyluck@w3.org>:
>
> If we go for spaces, I still think the way I mentioned in my original mail
> is the best approach:
>
> p { letter-spacing: 1px }
>
> <p><u>A</u><u>B</u>
>
> This will (future tense, the browser currently doesn't implement this
> behavior but it's now speced in CSS3 Text. See test case[1]) satisfy the
> requirement that I don't want to make the space between A and B look
> abnormal. But I think this is a hack.
>
> [1] http://www.w3.org/People/kennyluck/Test/letter-spacing-rendered-content

I think a problem with this approach is that the 1px letter spacing
will also be applied to English, and probably other scripts. If we
have a mixed Chinese-Arabic page (not inconceivable in some parts of
China, or right here in Toronto, Canada) I don't know what will happen
to the Arabic.

But if even this will only be in the future I agree that it's better
to have special provisions for underlines. Part of the problem is
probably because underlines are called "decoration".

-- 
cheers,
-ambrose
Received on Friday, 3 December 2010 20:24:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:34 GMT