File: simple_page.html

package info (click to toggle)
qtwebkit 2.3.4.dfsg-9.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 290,564 kB
  • ctags: 273,642
  • sloc: cpp: 1,417,509; python: 85,048; ansic: 39,357; perl: 38,862; ruby: 10,313; objc: 9,505; xml: 8,679; asm: 3,864; yacc: 2,458; sh: 1,237; lex: 813; makefile: 592; java: 228; php: 79
file content (50 lines) | stat: -rw-r--r-- 1,710 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<html>
<!--
    This page is used to test that WebPageSerializer::retrieveAllResources retrieves
    correctly the expected resources from various HTML nodes.
-->

<head>
<!-- Style sheet links should be retrieved -->
<link rel="stylesheet" type="text/css" href="http://www.example.com/beautifull.css"/>
<!-- Other link should NOT be retrieved -->
<link rel="copyright" type="text/plain" href="http://www.example.com/copyright"/>
<!-- Scripts should be retrieved -->
<script src="awesome.js"></script>
</head>

<!-- Images are always retrieved -->
<body background="bodyBackground.jpg">

<!-- Twice to make sure we only report each resource once -->
<img src="awesome.png"/>
<img src="awesome.png"/>

<form>
  <input type="image" src="imageButton.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 -->
<blockquote cite="http://www.evene.fr/citations/auteur.php?ida=46"></blockquote>
<q CITE="http://www.brainyquote.com/quotes/authors/c/charles_darwin.html"></q>
<p>My favorite color is <del cite="why_deleted.html">blue</del> <ins>red</ins>!</p>
<p>My favorite color is <del>blue</del> <ins cite="why_inserted.html">red</ins>!</p>

<!-- Make sure we only retrieve URLs with the right schemes -->
<img src="https://www.secure.com/https.gif"/>  <!-- HTTPS is OK -->
<img src="file://c/my_folder/file.gif"/>  <!-- file is OK -->
<img src="ftp://ftp.com/ftp.gif"/>  <!-- FTP is not OK -->
<img src="unknown://unkown.com/unknown.gif"/>  <!-- Unknown schemes are not OK -->

</body>

</html>