aboutsummaryrefslogtreecommitdiff
path: root/brokenlinks/testdata/web
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-02-11 04:40:35 +0700
committerShulhan <ms@kilabit.info>2026-02-11 21:45:06 +0700
commitded0c89eea2ff0193f7916db35e3f600d24842ff (patch)
tree54276667ae8aa557252236327d78b740751d8ca0 /brokenlinks/testdata/web
parent61eb5351087be894a4bfeb71c99346b8065bb7f1 (diff)
downloadjarink-ded0c89eea2ff0193f7916db35e3f600d24842ff.tar.xz
brokenlinks: test links that wrapped by other elements
This is to see the behaviour of [Node.Descendants] when traversing the element recursively.
Diffstat (limited to 'brokenlinks/testdata/web')
-rw-r--r--brokenlinks/testdata/web/index.html10
-rw-r--r--brokenlinks/testdata/web/page2/index.html10
2 files changed, 16 insertions, 4 deletions
diff --git a/brokenlinks/testdata/web/index.html b/brokenlinks/testdata/web/index.html
index 4eaf3ed..6952dd1 100644
--- a/brokenlinks/testdata/web/index.html
+++ b/brokenlinks/testdata/web/index.html
@@ -4,8 +4,14 @@ SPDX-License-Identifier: GPL-3.0-only
-->
<html>
<body>
- <img src="/broken.png" />
- <a href="/brokenPage">Broken page</a>
+ <div>
+ <img src="/broken.png" />
+ </div>
+ <div>
+ <div>
+ <a href="/brokenPage">Broken page</a>
+ </div>
+ </div>
<img src="/gopher.png" />
<img width="200" src="" />
<a href="/page2">Page 2</a>
diff --git a/brokenlinks/testdata/web/page2/index.html b/brokenlinks/testdata/web/page2/index.html
index ae6b4ea..f75b89c 100644
--- a/brokenlinks/testdata/web/page2/index.html
+++ b/brokenlinks/testdata/web/page2/index.html
@@ -4,8 +4,14 @@ SPDX-License-Identifier: GPL-3.0-only
-->
<html>
<body>
- <img src="/broken.png" />
- <img src="broken2.png" />
+ <div>
+ <img src="/broken.png" />
+ </div>
+ <div>
+ <div>
+ <img src="broken2.png" />
+ </div>
+ </div>
<a href="broken/relative">broken relative link</a>
<a href="/">Back with absolute path</a>
<a href="../">Back with relative path</a>