Debian Codegraph @

tests/testsuite/print/relative_links/expected/print.html

raw
1 <h1 id="first-chapter"><a class="header" href="#first-chapter">First Chapter</a></h1>
2 <div style="break-before: page; page-break-before: always;"></div>
3 <h1 id="first-nested"><a class="header" href="#first-nested">First Nested</a></h1>
4 <div style="break-before: page; page-break-before: always;"></div>
5 <h1 id="testing-relative-links-for-the-print-page"><a class="header" href="#testing-relative-links-for-the-print-page">Testing relative links for the print page</a></h1>
6 <p>When we link to <a href="#first-nested">the first section</a>, it should work on
7 both the print page and the non-print page.</p>
8 <p>The same link should work <a href="#first-nested">with an html extension</a>.</p>
9 <p>A <a href="#some-section">fragment link</a> should work.</p>
10 <p>Link <a href="../std/foo/bar.html">outside</a>.</p>
11 <p>Link <a href="../std/foo/bar.html#panic">outside with anchor</a>.</p>
12 <p>Link <a href="first/alpha/beta.html">inside but doesn’t exist</a>.
13 Link <a href="first/alpha/beta.html#anchor">inside but doesn’t exist with anchor</a>.
14 Link <a href="first/alpha/gamma.html">inside to html</a>.
15 Link <a href="first/alpha/gamma.html#anchor">inside to html with anchor</a>.</p>
16 <p><label class="checkbox-label"><input class="checkbox-img" type="checkbox"><img src="images/picture.png" alt="Some image"><span class="img-wrapper"><img src="images/picture.png" alt="Some image"></span></label></p>
17 <p><a href="#first-nested">HTML Link</a></p>
18 <img src="images/picture.png" alt="raw html">
19 <h2 id="some-section"><a class="header" href="#some-section">Some section</a></h2>
20 <p><a href="https://example.com/foo.html#bar">Links with scheme shouldn’t be touched.</a></p>
21 <p><a href="images/not-html?arg1&amp;arg2#with-anchor">Non-html link</a></p>