Re: [csswg-drafts] [css-shadow-parts] PanResp (Panel Responsive) support: sizing expression mapping (#3874)

For the early/late issue, here's an example:

```css
.parent {
  px-mapping: calc(PX * 2);
  --foo: 20px;
}
.child {
  px-mapping: initial;
  width: var(--foo);
}
```

In this, what's the size of the child? 20px or 40px? I suspect the answer depends on whether --foo is registered or not: if registered, it'll be processed as a length, and get the mapping, becoming "40px"; if not, it'll inherit as an unaltered "20px" token, and then the child gets that and becomes 20px wide.

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

Received on Friday, 26 April 2019 19:25:20 UTC