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

Re: [csswg-drafts] [css-text-decor] selective toggling in the text-decoration-skip property.

From: Koji Ishii via GitHub <sysbot+gh@w3.org>
Date: Tue, 03 Jan 2017 14:24:48 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-270124796-1483453486-sysbot+gh@w3.org>
Not only +1 to selective toggling, I think there is another possible 
problem in the current design.

Let's say authors set `html { text-decoration-skip: ink; }` to their 
pages today.

The spec says:
> Level 4 of this specification defines additional values 
(leading-spaces and trailing-spaces), and uses them in the initial 
value of this property, meaning that by default they are skipped.

So L4 UA must render decorations to leading/trailing spaces only on 
such pages, correct? This is probably unexpected, breaking behavior.

IIUC with the current design, or even with selective design as long as
 we have shorthands, we can't add new values that are skipping by 
default without breaking existing pages.

WDYT?

-- 
GitHub Notification of comment by kojiishi
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/843#issuecomment-270124796 
using your GitHub account
Received on Tuesday, 3 January 2017 14:24:54 UTC

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