W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2016

Re: [csswg-drafts] [css-text-decor] Should text-decoration-skip applied on overline and line-through?

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Tue, 15 Nov 2016 08:35:44 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-260579480-1479198943-sysbot+gh@w3.org>
Oh, do we have `auto`? That could be a game changer, though, if that 
can provide a decent default behavior everywhere.

However, the problem may still be valid. If author decides to use a 
different value for underline, they would effectively need to specify 
the value everywhere when there is a `text-decoration-line` presents, 
otherwise they may get undesired broken line-through, or undesired 
non-broken underline (considering `<u>some thing important 
<del>deleted</del></u>` and `<del>deleted <u>something was 
important</u></del>`).

If that is something we want, then `text-decoration-skip` should 
probably not be inherited by default, and should be part of 
`text-decoration` shorthand.

I have no idea why `text-decoration-skip` is inherited currently, 
though. @kojiishi thoughts?

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/711#issuecomment-260579480 
using your GitHub account
Received on Tuesday, 15 November 2016 08:35:50 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:05 UTC