WPT Failures in flex-grow-computed.html and flex-shrink-computed.html
Categories
(Core :: Layout: Flexbox, task)
Tracking
()
People
(Reporter: dholbert, Unassigned)
References
(Blocks 1 open bug)
Details
WPT tests flex-grow-computed.html and flex-shrink-computed.html fail in Firefox (and in Safari):
https://wpt.fyi/results/css/css-flexbox/parsing/flex-grow-computed.html?label=master&label=experimental&aligned
It looks like the tests are hardcoded to expect scientific notation for some values that they read back, and we just return the regular decimal value instead. e.g.:
assert_equals: expected "2.34e+06" but got "2340000"
This seems likely to be just a buggy/unjustified expectation that's hardcoded into the test, in which case the test needs fixing.
FWIW, this test is included in the compat2021 test set at
https://github.com/Ecosystem-Infra/wpt-results-analysis/blob/master/compat-2021/css-flexbox-tests.txt
| Reporter | ||
Updated•5 years ago
|
| Reporter | ||
Comment 1•4 years ago
|
||
Good news: the tests were fixed upstream to allow decimal values like 2340000, in at https://github.com/web-platform-tests/wpt/commit/935bbb95a6cc75aa25fb9c2ae9c63e457dc23453
We pass the amended tests.
Description
•