W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2017

Re: [csswg-drafts] [css-text-decor] Add auto value for text-decoration-skip:

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Wed, 15 Feb 2017 03:32:17 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-279907906-1487129536-sysbot+gh@w3.org>
@behnam @khaledhosny So if I understand correctly, the ideal behavior 
for Arabic and other languages using the same script is to position 
the underline so that it does not intersect, making the question of 
whether or not to skip irrelevant since there is no intersection.

The position of the underline is controlled by 
https://drafts.csswg.org/css-text-decor-4/#underline-offset, and the 
default value allows for that. It should probably be clarified to make
 sure that it not only allows for it, but actually requires it, or if 
we cannot do that, at least recommend it.

Some (many) current implementations may be doing a terrible job of 
implementing auto correctly, and place the underline in a way that 
does intersect. We can hope this will go away eventually, but maybe it
 will take a while, and maybe there are cases where that is not 
possible.

Also, it remains possible to place the underline manually, and make it
 intersect.

When that happens, what should we do if the author has not said what 
they want in terms of ink skipping. skip by default or not?

It seems to me that although avoiding intersections is the main goal, 
if intersections do happen, skipping ink is better than not. Does that
 make sense?


-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/727#issuecomment-279907906 
using your GitHub account
Received on Wednesday, 15 February 2017 03:32:29 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:29 UTC