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

Re: [csswg-drafts] [css-values] Retiring support for 3-valued positions (excluding background)

From: Eric Willigers via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Jan 2018 17:55:35 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-356683236-1515606934-sysbot+gh@w3.org>
The syntax for [position](https://drafts.csswg.org/css-values-4/#typedef-position) has limited alternatives:

```
<position> = [
  [ left | center | right ] || [ top | center | bottom ]
|
```
1 or 2 values
```
  [ left | center | right | <length-percentage> ]
  [ top | center | bottom | <length-percentage> ]?
|
```
1 or 2 values
```
  [ [ left | right ] <length-percentage> ] &&
  [ [ top | bottom ] <length-percentage> ]
]
```
4 values

> Right, I'm pointing out that 3-value syntaxes that use 'center' as one of the keywords (e.g. center top 3px) are still valid with the change

How is that still valid?


-- 
GitHub Notification of comment by ewilligers
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2140#issuecomment-356683236 using your GitHub account
Received on Wednesday, 10 January 2018 17:55:38 UTC

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