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

Re: [csswg-drafts] [css-ui] Two different colours for a "double" style outline

From: Šime Vidas via GitHub <sysbot+gh@w3.org>
Date: Sat, 18 Nov 2017 23:57:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-345480633-1511049468-sysbot+gh@w3.org>
I think, I understand now. I was confused about the difference between `<color>{1,4}#` and `<color>#{1,4}` (I didn’t even notice that they have different meanings).

The value definition syntax is quite confusing in this aspect. For example, in `<color>{1,4}#`, there are two distinct multipliers (first space-separated 1–4 times, then comma-separated 1 or more times), but in `<color>#{1,4}`, there is only one multiplier (comma-separated 1–4 times).

In other words, when `{1,4}` doesn’t have `#` to its left, it defaults to *space-separated*, and if `#` doesn’t have `{…}` to its right, it defaults to *one or more times*. Uh, I barely understand it as I write this. 😔 

-- 
GitHub Notification of comment by simevidas
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1172#issuecomment-345480633 using your GitHub account
Received on Saturday, 18 November 2017 23:57:55 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 18 November 2017 23:57:58 UTC