Repository navigation
stylo: Use f64 everywhere in animation logic - #45682
Conversation
|
🔨 Triggering try run (#27505416445) for Linux (WPT) |
|
🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#60622) with upstreamable changes. |
|
Test results for linux-wpt from try job (#27505416445): Flaky unexpected result (52)
Stable unexpected results that are known to be intermittent (21)
|
|
✨ Try run (#27505416445) succeeded. |
|
@Loirooriol Before landing, I think you need to correct the issue link in the PR description. |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#60622) title and body. |
9464e9a to
e031da0
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#60622). |
We were previously using a mix of f32 and f64. Then it could happen that we would first check that `a < b` in f64, but when converting to f32, they might become equal due to the precision loss. Thus this could break invariants in the logic, making a `debug_unreachable!()` reachable. Servo PR: servo/servo#45682 Signed-off-by: Oriol Brufau <[email protected]> Co-authored-by: Martin Robinson <[email protected]>
e031da0 to
0d8330a
Compare
Co-authored-by: Martin Robinson <[email protected]> Signed-off-by: Oriol Brufau <[email protected]>
0d8330a to
e812e68
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#60622). |
1 similar comment
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#60622). |
|
⛔ Failed to properly merge the upstream pull request (web-platform-tests/wpt#60622). Please address any CI issues and try to merge manually. |
Bumps Stylo to servo/stylo#392 This avoids potential assert failures due to the precision loss of converting f64 into f32. Testing: Adds a crashtest. Since the problem was dependent on timing, it would only fail intermittently. With the fix it should never fail. Fixes: servo#45008 Signed-off-by: Oriol Brufau <[email protected]> Co-authored-by: Martin Robinson <[email protected]>
We were previously using a mix of f32 and f64. Then it could happen that we would first check that `a < b` in f64, but when converting to f32, they might become equal due to the precision loss. Thus this could break invariants in the logic, making a `debug_unreachable!()` reachable. Servo PR: servo/servo#45682 Signed-off-by: Oriol Brufau <[email protected]> Co-authored-by: Martin Robinson <[email protected]>
Bumps Stylo to servo/stylo#392
This avoids potential assert failures due to the precision loss of converting f64 into f32.
Testing: Adds a crashtest. Since the problem was dependent on timing, it would only fail intermittently. With the fix it should never fail.
Fixes: #45008