diff --git a/testing/web-platform/meta/html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding-2.html.ini b/testing/web-platform/meta/html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding-2.html.ini
new file mode 100644
index 000000000000..5cfd202055a9
--- /dev/null
+++ b/testing/web-platform/meta/html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding-2.html.ini
@@ -0,0 +1,10 @@
+[fragment-and-encoding-2.html]
+ [Fragment navigation: encoding]
+ expected: FAIL
+
+ [Invalid percent-encoded UTF-8 byte should decode as U+FFFD]
+ expected: FAIL
+
+ [Percent-encoded UTF-8 BOM followed by invalid UTF-8 byte should decode as U+FEFF U+FFFD]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding.html.ini b/testing/web-platform/meta/html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding.html.ini
new file mode 100644
index 000000000000..fce91ab42793
--- /dev/null
+++ b/testing/web-platform/meta/html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding.html.ini
@@ -0,0 +1,7 @@
+[fragment-and-encoding.html]
+ [Fragment navigation: encoding]
+ expected: FAIL
+
+ [%FF should not find U+00FF as decoding it gives U+FFFD]
+ expected: FAIL
+