| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 html { | 3 html { |
| 4 height: 100%; | 4 height: 100%; |
| 5 } | 5 } |
| 6 body { | 6 body { |
| 7 margin: 0; | 7 margin: 0; |
| 8 font-family: Helvetica, sans-serif; | 8 font-family: Helvetica, sans-serif; |
| 9 font-size: 11pt; | 9 font-size: 11pt; |
| 10 display: -webkit-flex; | 10 display: -webkit-flex; |
| (...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 } | 535 } |
| 536 } | 536 } |
| 537 | 537 |
| 538 function textResultLinks(test, prefix) | 538 function textResultLinks(test, prefix) |
| 539 { | 539 { |
| 540 var html = resultLink(prefix, '-expected.txt', 'expected') + | 540 var html = resultLink(prefix, '-expected.txt', 'expected') + |
| 541 resultLink(prefix, '-actual.txt', 'actual') + | 541 resultLink(prefix, '-actual.txt', 'actual') + |
| 542 resultLink(prefix, '-diff.txt', 'diff') + | 542 resultLink(prefix, '-diff.txt', 'diff') + |
| 543 resultLink(prefix, '-pretty-diff.html', 'pretty diff'); | 543 resultLink(prefix, '-pretty-diff.html', 'pretty diff'); |
| 544 | 544 |
| 545 if (globalState().results.has_wdiff) | |
| 546 html += resultLink(prefix, '-wdiff.html', 'wdiff'); | |
| 547 | |
| 548 return html; | 545 return html; |
| 549 } | 546 } |
| 550 | 547 |
| 551 function imageResultsCell(testObject, testPrefix, actual) { | 548 function imageResultsCell(testObject, testPrefix, actual) { |
| 552 var row = ''; | 549 var row = ''; |
| 553 | 550 |
| 554 if (actual.indexOf('IMAGE') != -1) { | 551 if (actual.indexOf('IMAGE') != -1) { |
| 555 globalState().hasImageFailures = true; | 552 globalState().hasImageFailures = true; |
| 556 | 553 |
| 557 if (testObject.reftest_type && testObject.reftest_type.indexOf('!=') !=
-1) { | 554 if (testObject.reftest_type && testObject.reftest_type.indexOf('!=') !=
-1) { |
| (...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1422 updateTestlistCounts(); | 1419 updateTestlistCounts(); |
| 1423 | 1420 |
| 1424 TestNavigator.reset(); | 1421 TestNavigator.reset(); |
| 1425 OptionWriter.apply(); | 1422 OptionWriter.apply(); |
| 1426 } | 1423 } |
| 1427 </script> | 1424 </script> |
| 1428 <!-- HACK: when json_results_test.js is included, loading this page runs the tes
ts. | 1425 <!-- HACK: when json_results_test.js is included, loading this page runs the tes
ts. |
| 1429 It is not copied to the layout-test-results output directory. --> | 1426 It is not copied to the layout-test-results output directory. --> |
| 1430 <script src="resources/results-test.js"></script> | 1427 <script src="resources/results-test.js"></script> |
| 1431 <body onload="generatePage()"></body> | 1428 <body onload="generatePage()"></body> |
| OLD | NEW |