Re: [csswg-drafts] [css-fonts] font-weight: bolder and lighter are counter-intuitive (#2764)

You're right of course! 🤐
I dug up the test file I confused this with. 
```css
--val: calc(2 + 2); 
--foo: calc(2 * var(--val)); /* Edge chokes */
```
The snippet's from a comment in an experiment I did ages ago toying with hsl() utilizing tons of calc() and var()s en masse to build basic color schemes and ramps.
Edge choked if calc() contained a var() that itself had calc() as it's _only_ value. Very occult behaviour.

I can't reproduce this today as the above code for `--foo` works fine in Edge/18, and given the file's age it must have been an earlier release.


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

Received on Tuesday, 28 January 2020 19:46:38 UTC