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

[csswg-drafts] [cssom] Define "canonical order". (#5741)

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Tue, 24 Nov 2020 13:44:02 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-749718557-1606225441-sysbot+gh@w3.org>
emilio has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom] Define "canonical order". ==
CSSOM makes references to "canonical order" in a bunch of places to refer to the order in which a shorthand expands to their longhands.

For example, for:

```
flex: 0; flex-grow: inherit;
```

Browsers serialize it as:

```
flex-shrink: 1; flex-basis: 0%; flex-grow: inherit;
```

which means that "flex" expands "flex-shrink" before "flex-basis". I don't _think_ that's defined anywhere, and it probably should.

cc @fantasai @tabatkins 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5741 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 24 November 2020 13:44:05 UTC

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