blob: 43b9d0e5187a8e677a98a0df05b453c0c47d00ee [file] [log] [blame]
<html>
<head>
<title>rewrite domains in HTML example</title>
</head>
<body>
<!-- This test HTML file works with the rewrite_domains filter only, and
by a Makefile tag that counts occurrences of the src and dst
domains. -->
<!-- the A tag will be moved to dst iff ModPagespeedDomainRewriteHyperlinks
is on. -->
<a href="http://src.example.com/newpage">link</a>
<!-- the FORM tag will be moved to dst iff
ModPagespeedDomainRewriteHyperlinks is on. -->
<form action="http://src.example.com/newform">form</form>
<!-- the IMG tag will be moved to dst regardless of the setting. -->
<img src="http://src.example.com/image.png" alt="">
<!-- span.src will be moved to dst if there's a
ModPagespeedUrlValuedAttribute specifying so. -->
<span src=http://src.example.com/span >&nbsp;</span>
<!-- hr.imgsrc will be moved to dst if there's a
ModPagespeedUrlValuedAttribute specifying so. -->
<hr imgsrc=http://src.example.com/hr-image>
<!-- hr.src will not be moved to dst because there's never a
ModPagespeedUrlValuedAttribute specifying so. -->
<hr src=http://src.example.com/hr-image>
<!-- blockquote.cite will be moved to dst if there's a
ModPagespeedUrlValuedAttribute specifying so. -->
<blockquote cite=http://src.example.com/hr-image></blockquote>
</body>
</html>