| OLD | NEW |
| (Empty) |
| 1 <!-- This page is used to test that PageSerializer correctly serializes the | |
| 2 expected resources from various HTML nodes. | |
| 3 --> | |
| 4 <html> | |
| 5 <head> | |
| 6 <!-- Style sheet links should be retrieved --> | |
| 7 <link rel="stylesheet" type="text/css" href="style.css"/> | |
| 8 <!-- Other link should NOT be retrieved --> | |
| 9 <link rel="copyright" type="text/plain" href="copyright.html"/> | |
| 10 <!-- Scripts should NOT be retrieved --> | |
| 11 <script src="script.js"></script> | |
| 12 </head> | |
| 13 | |
| 14 <!-- Images are always retrieved --> | |
| 15 <body background="bodyBackground.png"> | |
| 16 | |
| 17 <!-- Twice to make sure we only report each resource once --> | |
| 18 <img src="imageSrc.png"/> | |
| 19 <img src="imageSrc.png"/> | |
| 20 | |
| 21 <!-- Non existing resource, should NOT be serialized --> | |
| 22 <img src="nonExisting.png"/> | |
| 23 | |
| 24 <form> | |
| 25 <input type="image" src="inputImage.png"/> | |
| 26 </form> | |
| 27 | |
| 28 <table background="tableBackground.png"> | |
| 29 <tr background="trBackground.png"> | |
| 30 <td background="tdBackground.png"></td> | |
| 31 </tr> | |
| 32 <tr background="trBackground.png"> | |
| 33 <td background="tdBackground.png"></td> | |
| 34 </tr> | |
| 35 </table> | |
| 36 | |
| 37 <!-- Some more obscure tags, should NOT be serialized --> | |
| 38 <blockquote cite="blockquoteCite.html"></blockquote> | |
| 39 <q cite="qCite.html"></q> | |
| 40 <p>My favorite color is <del cite="delCite.html">blue</del> <ins>red</ins>!</p> | |
| 41 <p>My favorite color is <del>blue</del> <ins cite="insCite.html">red</ins>!</p> | |
| 42 | |
| 43 </body> | |
| 44 | |
| 45 </html> | |
| OLD | NEW |