W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2019

Re: [csswg-drafts] [css-grid] Default Grid Columns, Rows, and Areas (#4002)

From: Timothy via GitHub <sysbot+gh@w3.org>
Date: Wed, 05 Jun 2019 15:46:11 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-499140661-1559749569-sysbot+gh@w3.org>
`:where` would fix the specificity issue. I had considered proposing an `!unimportant` flag for parity with `!important`, but `:where` is clearly superior in a variety of ways, so thank you for sharing that with me.

Your second point still stands that there are a variety of complexities that would prevent

```css
main > * {
  grid-column: normal;
}
```

from behaving the same as

```css
main {
  default-grid-column: normal;
}
```

I have a gut feeling that adding the default variants for grid placement might be faster to specify and implement than the more abstract `:where` pseudo-class and `::text` pseudo-element. But this is just a hunch.

Any of the grid-placement properties that have a value of `auto` would fall back to the default value specified on their grid (or subgrid) container. Default values for all of the properties would be `auto`.

-- 
GitHub Notification of comment by zzzzBov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4002#issuecomment-499140661 using your GitHub account
Received on Wednesday, 5 June 2019 15:46:13 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:10 UTC