diff --git a/appmanifest/protocol_handlers-member/resources/protocol_handlers_entry.html b/appmanifest/protocol_handlers-member/resources/protocol_handlers_entry.html
index c5fa629f22bfda..9477fa37dd7f99 100644
--- a/appmanifest/protocol_handlers-member/resources/protocol_handlers_entry.html
+++ b/appmanifest/protocol_handlers-member/resources/protocol_handlers_entry.html
@@ -4,7 +4,6 @@
Protocol Handling Web Platform Test - Pass
-
-
-
-
-
{{GET[policy]}}
diff --git a/content-security-policy/navigation/support/test_csp_self_window.sub.html b/content-security-policy/navigation/support/test_csp_self_window.sub.html
index 2f7b685a751648..081fadef2a3c19 100644
--- a/content-security-policy/navigation/support/test_csp_self_window.sub.html
+++ b/content-security-policy/navigation/support/test_csp_self_window.sub.html
@@ -1,6 +1,5 @@
-
{{GET[window_url]}}
diff --git a/cookies/partitioned-cookies/resources/partitioned-cookies-cross-site-embed.html b/cookies/partitioned-cookies/resources/partitioned-cookies-cross-site-embed.html
index 05a99626dc4211..2f9bb18779a064 100644
--- a/cookies/partitioned-cookies/resources/partitioned-cookies-cross-site-embed.html
+++ b/cookies/partitioned-cookies/resources/partitioned-cookies-cross-site-embed.html
@@ -3,7 +3,6 @@
Test site embedded in a cross-site context
-
diff --git a/cookies/partitioned-cookies/resources/partitioned-cookies-top-level-redirect.html b/cookies/partitioned-cookies/resources/partitioned-cookies-top-level-redirect.html
index c94beff5285578..4de2862474e1c4 100644
--- a/cookies/partitioned-cookies/resources/partitioned-cookies-top-level-redirect.html
+++ b/cookies/partitioned-cookies/resources/partitioned-cookies-top-level-redirect.html
@@ -3,7 +3,6 @@
Test partitioned cookie top level cross-site
-
diff --git a/cookies/third-party-cookies/resources/third-party-cookies-cross-site-embed.html b/cookies/third-party-cookies/resources/third-party-cookies-cross-site-embed.html
index 2d579c91bed92b..54a7ba5cda2a93 100644
--- a/cookies/third-party-cookies/resources/third-party-cookies-cross-site-embed.html
+++ b/cookies/third-party-cookies/resources/third-party-cookies-cross-site-embed.html
@@ -3,7 +3,6 @@
Test site embedded in a cross-site context
-
diff --git a/fenced-frame/resources/automatic-beacon-unfenced-page.html b/fenced-frame/resources/automatic-beacon-unfenced-page.html
index c9561bec550591..098179eea1bcbf 100644
--- a/fenced-frame/resources/automatic-beacon-unfenced-page.html
+++ b/fenced-frame/resources/automatic-beacon-unfenced-page.html
@@ -2,7 +2,6 @@
Page navigated to by an _unfencedTop navigation
-
diff --git a/fenced-frame/resources/background-fetch-inner.https.html b/fenced-frame/resources/background-fetch-inner.https.html
index 1bca25a957a3fe..de19d2bc36f1c8 100644
--- a/fenced-frame/resources/background-fetch-inner.https.html
+++ b/fenced-frame/resources/background-fetch-inner.https.html
@@ -1,6 +1,5 @@
-
Fenced frame content to report the result of background fetch
diff --git a/fenced-frame/resources/background-fetch-sw-inner.https.html b/fenced-frame/resources/background-fetch-sw-inner.https.html
index 78e58e5bbf5e4f..329a37cf802075 100644
--- a/fenced-frame/resources/background-fetch-sw-inner.https.html
+++ b/fenced-frame/resources/background-fetch-sw-inner.https.html
@@ -1,6 +1,5 @@
-
Fenced frame content to report the result of background fetch in SW
diff --git a/fenced-frame/resources/background-sync-inner.https.html b/fenced-frame/resources/background-sync-inner.https.html
index 81974c803ad19b..0ed60a5f20938d 100644
--- a/fenced-frame/resources/background-sync-inner.https.html
+++ b/fenced-frame/resources/background-sync-inner.https.html
@@ -1,6 +1,5 @@
-
Fenced frame content to report the result of background sync's register
diff --git a/fenced-frame/resources/background-sync-sw-inner.https.html b/fenced-frame/resources/background-sync-sw-inner.https.html
index b9521a4e20add8..42f47e5d13f592 100644
--- a/fenced-frame/resources/background-sync-sw-inner.https.html
+++ b/fenced-frame/resources/background-sync-sw-inner.https.html
@@ -1,6 +1,5 @@
-
Fenced frame content to report the result of background sync's register in SW
diff --git a/fenced-frame/resources/ignore-child-fenced-frame-onload-event-inner.html b/fenced-frame/resources/ignore-child-fenced-frame-onload-event-inner.html
index 4fe496f29c8480..ea41d0df29c5f5 100644
--- a/fenced-frame/resources/ignore-child-fenced-frame-onload-event-inner.html
+++ b/fenced-frame/resources/ignore-child-fenced-frame-onload-event-inner.html
@@ -1,7 +1,6 @@
child frame with delayed onload event
-
diff --git a/fenced-frame/resources/navigate-ancestor-from-nested-fenced-frame.https.html b/fenced-frame/resources/navigate-ancestor-from-nested-fenced-frame.https.html
index 74800b969f772c..0f40ccf8c0b3fe 100644
--- a/fenced-frame/resources/navigate-ancestor-from-nested-fenced-frame.https.html
+++ b/fenced-frame/resources/navigate-ancestor-from-nested-fenced-frame.https.html
@@ -1,7 +1,6 @@
Navigate ancestor helper
-
diff --git a/fenced-frame/resources/navigate-ancestor-from-nested-iframe.https.html b/fenced-frame/resources/navigate-ancestor-from-nested-iframe.https.html
index 63a0cca8b4f2d2..b6adfec4235a3b 100644
--- a/fenced-frame/resources/navigate-ancestor-from-nested-iframe.https.html
+++ b/fenced-frame/resources/navigate-ancestor-from-nested-iframe.https.html
@@ -1,7 +1,6 @@
Navigate ancestor helper from nested fenced frame
-
diff --git a/fenced-frame/resources/navigate-ancestor-test-runner.https.html b/fenced-frame/resources/navigate-ancestor-test-runner.https.html
index d0f2e8d694a651..8033fea6ecc68f 100644
--- a/fenced-frame/resources/navigate-ancestor-test-runner.https.html
+++ b/fenced-frame/resources/navigate-ancestor-test-runner.https.html
@@ -1,7 +1,6 @@
Test navigating an ancestor frame from within a fenced frame
-
diff --git a/fenced-frame/resources/permission-geolocation-test-runner.html b/fenced-frame/resources/permission-geolocation-test-runner.html
index 724a35ce9a568b..8a0a894d26738a 100644
--- a/fenced-frame/resources/permission-geolocation-test-runner.html
+++ b/fenced-frame/resources/permission-geolocation-test-runner.html
@@ -1,7 +1,6 @@
Fenced frame content to report the result of navigator.geolocation.getCurrentPosition()
-
diff --git a/fenced-frame/resources/window-navigation-204-inner.html b/fenced-frame/resources/window-navigation-204-inner.html
index e5e5adef1d6f2b..a48746885086f2 100644
--- a/fenced-frame/resources/window-navigation-204-inner.html
+++ b/fenced-frame/resources/window-navigation-204-inner.html
@@ -1,6 +1,5 @@
-
Fenced frame content to report the value of window.navigation
diff --git a/fetch/connection-pool/resources/network-partition-about-blank-checker.html b/fetch/connection-pool/resources/network-partition-about-blank-checker.html
index 7a8b61323752d2..1bcf589e74037a 100644
--- a/fetch/connection-pool/resources/network-partition-about-blank-checker.html
+++ b/fetch/connection-pool/resources/network-partition-about-blank-checker.html
@@ -4,7 +4,6 @@
about:blank Network Partition Checker
-
diff --git a/fetch/connection-pool/resources/network-partition-iframe-checker.html b/fetch/connection-pool/resources/network-partition-iframe-checker.html
index f76ed1844719c9..34f63369b0fc9e 100644
--- a/fetch/connection-pool/resources/network-partition-iframe-checker.html
+++ b/fetch/connection-pool/resources/network-partition-iframe-checker.html
@@ -4,7 +4,6 @@
Iframe Network Partition Checker
-
diff --git a/fetch/connection-pool/resources/network-partition-worker-checker.html b/fetch/connection-pool/resources/network-partition-worker-checker.html
index e6b7ea7673fe79..c3f8970c9d1d79 100644
--- a/fetch/connection-pool/resources/network-partition-worker-checker.html
+++ b/fetch/connection-pool/resources/network-partition-worker-checker.html
@@ -4,7 +4,6 @@
Worker Network Partition Checker
-
diff --git a/fetch/http-cache/resources/split-cache-popup-with-iframe.html b/fetch/http-cache/resources/split-cache-popup-with-iframe.html
index 48b16180cfdfa5..786647c0ff2f13 100644
--- a/fetch/http-cache/resources/split-cache-popup-with-iframe.html
+++ b/fetch/http-cache/resources/split-cache-popup-with-iframe.html
@@ -4,7 +4,6 @@
HTTP Cache - helper
-
diff --git a/fetch/http-cache/resources/split-cache-popup.html b/fetch/http-cache/resources/split-cache-popup.html
index edb579479414fe..623fb48784b016 100644
--- a/fetch/http-cache/resources/split-cache-popup.html
+++ b/fetch/http-cache/resources/split-cache-popup.html
@@ -4,7 +4,6 @@
HTTP Cache - helper
-
diff --git a/focus/support/focus-event-after-switching-iframes-inner.html b/focus/support/focus-event-after-switching-iframes-inner.html
index 33b26c15822b6b..3a10b140980cf1 100644
--- a/focus/support/focus-event-after-switching-iframes-inner.html
+++ b/focus/support/focus-event-after-switching-iframes-inner.html
@@ -5,6 +5,7 @@
Focus event inner document
+
Inner
diff --git a/html/browsers/browsing-the-web/history-traversal/pagereveal/resources/order-in-prerender-activation-popup.html b/html/browsers/browsing-the-web/history-traversal/pagereveal/resources/order-in-prerender-activation-popup.html
index 78989adc172997..e42f113609aff3 100644
--- a/html/browsers/browsing-the-web/history-traversal/pagereveal/resources/order-in-prerender-activation-popup.html
+++ b/html/browsers/browsing-the-web/history-traversal/pagereveal/resources/order-in-prerender-activation-popup.html
@@ -2,7 +2,6 @@
pagereveal event fires and in correct order on prerender activation (popup)
-
-