Chromium Code Reviews| Index: Source/web/tests/data/pageserializer/elements/elements.html |
| diff --git a/Source/web/tests/data/pageserializer/elements/elements.html b/Source/web/tests/data/pageserializer/elements/elements.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8c2473fb4c93132df9749b7e69b2dcf56010d5b6 |
| --- /dev/null |
| +++ b/Source/web/tests/data/pageserializer/elements/elements.html |
| @@ -0,0 +1,45 @@ |
| +<!-- This page is used to test that PageSerializer correctly serializes the |
|
philipj_slow
2015/06/12 07:52:01
I'd be interested to see what happens with <audio
Tiger (Sony Mobile)
2015/06/12 08:12:20
It's mentioned a bit about this in PageSerializer.
|
| + expected resources from various HTML nodes. |
| +--> |
| +<html> |
| +<head> |
| +<!-- Style sheet links should be retrieved --> |
| +<link rel="stylesheet" type="text/css" href="style.css"/> |
| +<!-- Other link should NOT be retrieved --> |
| +<link rel="copyright" type="text/plain" href="copyright.html"/> |
| +<!-- Scripts should NOT be retrieved --> |
| +<script src="script.js"></script> |
| +</head> |
| + |
| +<!-- Images are always retrieved --> |
| +<body background="bodyBackground.png"> |
| + |
| +<!-- Twice to make sure we only report each resource once --> |
| +<img src="imageSrc.png"/> |
| +<img src="imageSrc.png"/> |
| + |
| +<!-- Non existing resource, should NOT be serialized --> |
| +<img src="nonExisting.png"/> |
| + |
| +<form> |
| + <input type="image" src="inputImage.png"/> |
| +</form> |
| + |
| +<table background="tableBackground.png"> |
| + <tr background="trBackground.png"> |
| + <td background="tdBackground.png"></td> |
| + </tr> |
| + <tr background="trBackground.png"> |
| + <td background="tdBackground.png"></td> |
| + </tr> |
| +</table> |
| + |
| +<!-- Some more obscure tags, should NOT be serialized --> |
| +<blockquote cite="blockquoteCite.html"></blockquote> |
| +<q cite="qCite.html"></q> |
| +<p>My favorite color is <del cite="delCite.html">blue</del> <ins>red</ins>!</p> |
| +<p>My favorite color is <del>blue</del> <ins cite="insCite.html">red</ins>!</p> |
| + |
| +</body> |
| + |
| +</html> |