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

`: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