all.php 919 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>History.js Test Suite</title>
  5. <style type="text/css">
  6. body,html,iframe {
  7. padding:0;
  8. margin:0;
  9. outline:none;
  10. border:none;
  11. }
  12. .browser {
  13. padding-top:1em;
  14. }
  15. .adapter {
  16. padding-top:1em;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <h1>History.js Test Suite</h1>
  22. <p>HTML5 Browsers must pass the HTML4+HTML5 tests</p>
  23. <p>HTML4 Browsers must pass the HTML4 tests and should fail the HTML5 tests</p>
  24. <?php
  25. foreach ( $browsers as $browser ) :
  26. echo '<div class="browser">';
  27. foreach ( $adapters as $adapter ) :
  28. echo '<div class="adapter">';
  29. # Url
  30. $url = "${browser}.${adapter}.html";
  31. # Title
  32. $Browser = ucwords($browser);
  33. $Adapter = ucwords($adapter);
  34. $title = "History.js ${Browser} ${Adapter} Test Suite";
  35. # Render
  36. ?><a href="<?=$url?>"><?=$title?></a><?php
  37. echo '</div>';
  38. endforeach;
  39. echo '</div>';
  40. endforeach;
  41. ?>
  42. </body>
  43. </html>