summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/syntax/parsing/empty-doctype-ids.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/syntax/parsing/empty-doctype-ids.html')
-rw-r--r--testing/web-platform/tests/html/syntax/parsing/empty-doctype-ids.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/syntax/parsing/empty-doctype-ids.html b/testing/web-platform/tests/html/syntax/parsing/empty-doctype-ids.html
new file mode 100644
index 0000000000..befdce428c
--- /dev/null
+++ b/testing/web-platform/tests/html/syntax/parsing/empty-doctype-ids.html
@@ -0,0 +1,10 @@
+<!doctype html PUBLIC "" "">
+<meta charset=utf-8>
+<title>Doctype with empty ids should trigger the standards mode.</title>
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+<script>
+test(function () {
+ assert_equals(document.compatMode, "CSS1Compat");
+}, "Doctype with empty ids should trigger the standards mode.");
+</script>