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 51 52 53 54 55 56 57 58 59 60 61
|
From 7b15ae9f01de9d5b1a4dce06a612fa7ced1c47a3 Mon Sep 17 00:00:00 2001
From: Mike Dalessio <mike@37signals.com>
Date: Wed, 9 Jul 2025 14:11:35 -0400
Subject: test: update test documents to remove markup from frames/noframes
In HTML5, frames/noframes content is raw text, not PCDATA; and libxml2
has implemented this behavior in v2.14.
---
test/htdocs/frame_test.html | 14 ++++++++------
test/htdocs/relative/tc_relative_links.html | 2 +-
2 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/test/htdocs/frame_test.html b/test/htdocs/frame_test.html
index 3c85617..0053313 100644
--- a/test/htdocs/frame_test.html
+++ b/test/htdocs/frame_test.html
@@ -18,13 +18,15 @@
</IFRAME>
</FRAMESET>
<NOFRAMES>
- <P>This frameset document contains:
- <UL>
- <LI><A href="/google.html">Some neat contents</A>
- <LI><A href="/form_test.html" class="bar">Form Test</A>
- <LI><A href="/file_upload.html">Some other neat contents</A>
- </UL>
+ Your user agent does not support frames.
</NOFRAMES>
+ <P>This frameset document contains:
+ <UL>
+ <LI><A href="/google.html">Some neat contents</A>
+ <LI><A href="/form_test.html" class="bar">Form Test</A>
+ <LI><A href="/file_upload.html">Some other neat contents</A>
+ </UL>
+ </P>
</FRAMESET>
</HTML>
diff --git a/test/htdocs/relative/tc_relative_links.html b/test/htdocs/relative/tc_relative_links.html
index 3d370fc..93b2de7 100644
--- a/test/htdocs/relative/tc_relative_links.html
+++ b/test/htdocs/relative/tc_relative_links.html
@@ -2,6 +2,7 @@
<body>
<a href="../tc_relative_links.html">dot dot slash</a>
<a href="../../../../../tc_relative_links.html">too many dots</a>
+ <a href="?a=b">just the query string</A>
<FRAMESET cols="20%, 80%">
<FRAMESET rows="100, 200, 200">
<FRAME name="frame1" src="../tc_relative_links.html">
@@ -13,7 +14,6 @@
[Your user agent does not support frames or is currently configured
not to display frames. However, you may visit
<A href="foo.html">the related document.</A>]
- <a href="?a=b">just the query string</A>
</IFRAME>
</FRAMESET>
</FRAMESET>
--
2.30.2
|