| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 <script src="../resources/compatibility.js"></script> | |
| 6 <script src="../resources/audit-util.js"></script> | 5 <script src="../resources/audit-util.js"></script> |
| 7 <script src="../resources/audio-testing.js"></script> | 6 <script src="../resources/audio-testing.js"></script> |
| 8 <title>Test Clamping of Automations</title> | 7 <title>Test Clamping of Automations</title> |
| 9 </head> | 8 </head> |
| 10 | 9 |
| 11 <body> | 10 <body> |
| 12 <script> | 11 <script> |
| 13 description("Test Clamping of Automations."); | 12 description("Test Clamping of Automations."); |
| 14 window.jsTestIsAsync = true; | 13 window.jsTestIsAsync = true; |
| 15 | 14 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 // | 123 // |
| 125 // Then | 124 // Then |
| 126 // | 125 // |
| 127 // t = (t0 * v1 - t1 * v0 + (t1 - t0) * v) / (v1 - v0) | 126 // t = (t0 * v1 - t1 * v0 + (t1 - t0) * v) / (v1 - v0) |
| 128 // | 127 // |
| 129 return (t0 * v1 - t1 * v0 + (t1 - t0) * v) / (v1 - v0); | 128 return (t0 * v1 - t1 * v0 + (t1 - t0) * v) / (v1 - v0); |
| 130 } | 129 } |
| 131 </script> | 130 </script> |
| 132 </body> | 131 </body> |
| 133 </html> | 132 </html> |
| OLD | NEW |