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

