summaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-04-29 08:17:42 +0000
committeralecpl <alec@alec.pl>2011-04-29 08:17:42 +0000
commitc08b18c4b92cc7c253c72709e3aecb639a742d9f (patch)
treec02837a76a99f32b249eae166a68e459f753f694 /tests/src
parent09b0e36b3f453a410b3389b6d95a29605d13bfca (diff)
- Fix relative URLs handling according to a <base> in HTML (#1487889)
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/htmlbase.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/src/htmlbase.txt b/tests/src/htmlbase.txt
new file mode 100644
index 000000000..d1ddd5406
--- /dev/null
+++ b/tests/src/htmlbase.txt
@@ -0,0 +1,10 @@
+<html>
+<head>
+<base href="http://alec.pl/dir/" />
+</head>
+<body>
+<img src="img1.gif" />
+<img src="./img2.gif" />
+<img src="../img3.gif" />
+</body>
+</html>