commit 5446285786f6fc2381df8c92ef5376a19f09dd70 parent 57f818280097ae2b9ec0eb60ff656aed2d0460fb Author: Simon Pieters <zcorpan@gmail.com> Date: Mon, 27 Oct 2025 10:05:58 +0000 Bug 1995977 [wpt PR 55614] - HTML: Add 2 doctypes that enable the XHTML entities, a=testonly Automatic update from web-platform-tests HTML: Add 2 doctypes that enable the XHTML entities See https://github.com/whatwg/html/pull/11823 -- wpt-commits: f590fe70b9c3aeae3254de5caa6fc117877a8546 wpt-pr: 55614 Diffstat:
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/testing/web-platform/tests/html/the-xhtml-syntax/parsing-xhtml-documents/xhtml-mathml-dtd-entity-11.htm b/testing/web-platform/tests/html/the-xhtml-syntax/parsing-xhtml-documents/xhtml-mathml-dtd-entity-11.htm @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<meta name=timeout content=long> +<title>HTML entities for various XHTML Doctype</title> +<link rel=help href="http://w3c.github.io/html/xhtml.html#parsing-xhtml-documents"> + +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<iframe id="test" src="support/xhtml-mathml-dtd-entity.htm"></iframe> + +<script> +onload = () => document.getElementById("test").contentWindow.run( +["application/xhtml+xml", "-//WAPFORUM//DTD XHTML Mobile 1.1//EN", "foo", "XHTML Mobile 1.1"]); +</script> diff --git a/testing/web-platform/tests/html/the-xhtml-syntax/parsing-xhtml-documents/xhtml-mathml-dtd-entity-12.htm b/testing/web-platform/tests/html/the-xhtml-syntax/parsing-xhtml-documents/xhtml-mathml-dtd-entity-12.htm @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<meta name=timeout content=long> +<title>HTML entities for various XHTML Doctype</title> +<link rel=help href="http://w3c.github.io/html/xhtml.html#parsing-xhtml-documents"> + +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<iframe id="test" src="support/xhtml-mathml-dtd-entity.htm"></iframe> + +<script> +onload = () => document.getElementById("test").contentWindow.run( +["application/xhtml+xml", "-//WAPFORUM//DTD XHTML Mobile 1.2//EN", "foo", "XHTML Mobile 1.2"]); +</script>