Skip to content

Commit 22e5bfe

Browse files
zcorpanmertcanaltin
authored andcommitted
HTML: Add 2 doctypes that enable the XHTML entities
See whatwg/html#11823
1 parent a01736d commit 22e5bfe

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<meta name=timeout content=long>
3+
<title>HTML entities for various XHTML Doctype</title>
4+
<link rel=help href="http://w3c.github.io/html/xhtml.html#parsing-xhtml-documents">
5+
6+
<script src="/resources/testharness.js"></script>
7+
<script src="/resources/testharnessreport.js"></script>
8+
<iframe id="test" src="support/xhtml-mathml-dtd-entity.htm"></iframe>
9+
10+
<script>
11+
onload = () => document.getElementById("test").contentWindow.run(
12+
["application/xhtml+xml", "-//WAPFORUM//DTD XHTML Mobile 1.1//EN", "foo", "XHTML Mobile 1.1"]);
13+
</script>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<meta name=timeout content=long>
3+
<title>HTML entities for various XHTML Doctype</title>
4+
<link rel=help href="http://w3c.github.io/html/xhtml.html#parsing-xhtml-documents">
5+
6+
<script src="/resources/testharness.js"></script>
7+
<script src="/resources/testharnessreport.js"></script>
8+
<iframe id="test" src="support/xhtml-mathml-dtd-entity.htm"></iframe>
9+
10+
<script>
11+
onload = () => document.getElementById("test").contentWindow.run(
12+
["application/xhtml+xml", "-//WAPFORUM//DTD XHTML Mobile 1.2//EN", "foo", "XHTML Mobile 1.2"]);
13+
</script>

0 commit comments

Comments
 (0)