summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/xhtml/elements/del/041-isvalid.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/xhtml/elements/del/041-isvalid.xhtml')
-rw-r--r--testing/web-platform/tests/conformance-checkers/xhtml/elements/del/041-isvalid.xhtml32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/xhtml/elements/del/041-isvalid.xhtml b/testing/web-platform/tests/conformance-checkers/xhtml/elements/del/041-isvalid.xhtml
new file mode 100644
index 0000000000..3d9fc243c6
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/xhtml/elements/del/041-isvalid.xhtml
@@ -0,0 +1,32 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>&lt;del&gt;</title>
+</head>
+<body>
+ <!-- can contain inline while in inline context -->
+ <p>paragraph
+ <del>
+ <em>some</em>
+ </del>
+ </p>
+
+ <!-- can contain strictly inline while in strictly inline context -->
+ <p><dfn>strictly inline
+ <del>
+ <em>text</em>
+ </del>
+ </dfn></p>
+
+ <!-- can contain interactive if ancestor does not forbid it -->
+ <p>paragraph
+ <del>
+ <a>link</a>
+ </del>
+ </p>
+ <p><dfn>strictly inline
+ <del>
+ <a>link</a>
+ </del>
+ </dfn></p>
+</body>
+</html>