W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

[csswg-drafts] [css-inline-3] Add keywords for raised / dropped initials

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Fri, 27 Jul 2018 01:17:06 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-345057410-1532654224-sysbot+gh@w3.org>
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-inline-3] Add keywords for raised / dropped initials ==
In https://github.com/w3c/csswg-drafts/issues/2950#issuecomment-407909991 @AmeliaBR  wrote:

> @Crissov, I'm not sure if the specific numbers you suggest are common enough to make default. **But,** I do like the idea of keywords `dropped` and `raised` for the two most common use-cases for the second property.  (I personally find it confusing that you need to specify a "drop" of 1 for not-dropped-at-all.) 
>
>```css
>[property-name]: 3 dropped;
>[property-name]: 2 raised;
>```
>
>`dropped` would still be the default, and any other levels of sunken-ness could still be set with integer values.
>
> This is maybe a separate issue, though.

//CC @Dan503

It would be pretty easy to add keywords that compute through to an integer, with `dropped` copying the first value and `raised` computing to `1`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2955 using your GitHub account
Received on Friday, 27 July 2018 01:17:21 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 July 2018 01:17:22 UTC