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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 text.textContent = 'Expected Image'; | 532 text.textContent = 'Expected Image'; |
533 image.src = image.getAttribute('data-prefix') + '-expected.png'; | 533 image.src = image.getAttribute('data-prefix') + '-expected.png'; |
534 } | 534 } |
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 | 543 resultLink(prefix, '-pretty-diff.html', 'pretty diff'); |
544 if (globalState().results.has_pretty_patch) | |
545 html += resultLink(prefix, '-pretty-diff.html', 'pretty diff'); | |
546 | 544 |
547 if (globalState().results.has_wdiff) | 545 if (globalState().results.has_wdiff) |
548 html += resultLink(prefix, '-wdiff.html', 'wdiff'); | 546 html += resultLink(prefix, '-wdiff.html', 'wdiff'); |
549 | 547 |
550 return html; | 548 return html; |
551 } | 549 } |
552 | 550 |
553 function imageResultsCell(testObject, testPrefix, actual) { | 551 function imageResultsCell(testObject, testPrefix, actual) { |
554 var row = ''; | 552 var row = ''; |
555 | 553 |
(...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1424 updateTestlistCounts(); | 1422 updateTestlistCounts(); |
1425 | 1423 |
1426 TestNavigator.reset(); | 1424 TestNavigator.reset(); |
1427 OptionWriter.apply(); | 1425 OptionWriter.apply(); |
1428 } | 1426 } |
1429 </script> | 1427 </script> |
1430 <!-- HACK: when json_results_test.js is included, loading this page runs the tes
ts. | 1428 <!-- HACK: when json_results_test.js is included, loading this page runs the tes
ts. |
1431 It is not copied to the layout-test-results output directory. --> | 1429 It is not copied to the layout-test-results output directory. --> |
1432 <script src="resources/results-test.js"></script> | 1430 <script src="resources/results-test.js"></script> |
1433 <body onload="generatePage()"></body> | 1431 <body onload="generatePage()"></body> |
OLD | NEW |