| 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..0191a3ee11dd06d02171f993830cb15175534de2
|
| --- /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
|
| + 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>
|
|
|