[csswg-drafts] [css-flexbox] Allow multiple serialized representations of flex-grow|shrink (#6706)

svillar has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-flexbox] Allow multiple serialized representations of flex-grow|shrink ==
Both Firefox and WebKit-based browsers fail [a couple of tests](https://wpt.fyi/results/css/css-flexbox/parsing?label=master&label=experimental&aligned&q=flex-%28grow%7Cshrink%29-computed) because of the way the `flex-grow` and `flex-shrink` properties are serialized.

For example, the specified value is using 2.34e+06 notation while the computed value is 2340000. I think the specs should allow both representations as valid, mainly because of the way engines work. If we only allow the specified value as valid representation then we'll be forcing engines to store that value (or something that refers to the actual notation used to represent the number) just for the `getComputedStyle()` call.

I have a [PR open](https://github.com/web-platform-tests/wpt/pull/28695) since April for WPT tests but I believe the spec editors are the ones to make the call and decide whether or not to allow those multiple representations.


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 1 October 2021 10:36:39 UTC