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

@AmeliaBR Not going to add keywords that compute to arbitrarily chosen constants like 3.

@Dan503 If we need sub-properties, we add sup-properties. Adding a complex syntax isn't really great, it was just unavoidable in Grid. :(

Proposal is to change the syntax of `initial-letters` from

```
initial-letters: <number> <integer>?
```

to

```
initial-letters: <number> [ drop | raise | <integer>]?
```

Where an omitted second argument is equal to `drop` which computes to the positive integer floor of `<number>`; and where `raise` computes to `1`.

This is basically syntactic just sugar for what we have already.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2955#issuecomment-430277200 using your GitHub account

Received on Tuesday, 16 October 2018 15:13:31 UTC