summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webdriver/tests/support/inline.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/webdriver/tests/support/inline.py')
-rw-r--r--testing/web-platform/tests/webdriver/tests/support/inline.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/web-platform/tests/webdriver/tests/support/inline.py b/testing/web-platform/tests/webdriver/tests/support/inline.py
index ecb2a2587b..8364e0590e 100644
--- a/testing/web-platform/tests/webdriver/tests/support/inline.py
+++ b/testing/web-platform/tests/webdriver/tests/support/inline.py
@@ -6,6 +6,7 @@ from urllib.parse import urlencode
BOILERPLATES = {
"html": "<!doctype html>\n<meta charset={charset}>\n{src}",
+ "html_quirks": "{src}",
"xhtml": """<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
@@ -22,6 +23,7 @@ BOILERPLATES = {
}
MIME_TYPES = {
"html": "text/html",
+ "html_quirks": "text/html",
"xhtml": "application/xhtml+xml",
"xml": "text/xml",
"js": "text/javascript",