[wpt-sync] Sync PR 28695 - Allow multiple equivalent representations for flex-{grow|shrink} computed values
Categories
(Core :: Layout: Flexbox, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28695 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28695
Details from upstream follow.
b'Sergio Villar Senin <svillar@igalia.com>' wrote:
Allow multiple equivalent representations for flex-{grow|shrink} computed values
Both Firefox and WebKit-based browsers report failures in
flex-{grow|shrink}-computed.html
tests because the way these engines serialize large float numbers is not exactly the same as the specified values. For example if authors use the 1e+06 notation they'll get 1000000 in return which is basically the same number but with a different notation.The reason why it's like that is because (at least in the case of WebKit) once the value is parsed, the engine forgets about the original representation (the specified one) and when
getComputedStyle()
is called the engine just serializes an internal representation.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=b74c6c1567a4c88315e434768c28e5b68209c7b1
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6dfba168e61d [wpt PR 28695] - Allow multiple equivalent representations for flex-{grow|shrink} computed values, a=testonly https://hg.mozilla.org/integration/autoland/rev/969c68415d6e [wpt PR 28695] - Update wpt metadata, a=testonly
Assignee | ||
Comment 3•3 years ago
|
||
Test result changes from PR not available.
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6dfba168e61d
https://hg.mozilla.org/mozilla-central/rev/969c68415d6e
Description
•