summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/bdo/model-novalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/bdo/model-novalid.html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/bdo/model-novalid.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/bdo/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/bdo/model-novalid.html
new file mode 100644
index 0000000000..5dee57cf7a
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/bdo/model-novalid.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;bdo&gt;</title>
+</head>
+<body>
+ <!-- not a block -->
+ <bdo dir="ltr">text</bdo>
+
+ <!-- 'dir' attribute required -->
+ <p><bdo>text</bdo></p>
+
+ <!-- cannot contain structured inline -->
+ <p><bdo dir="ltr"><ul><li>text</li></ul></bdo></p>
+
+ <!-- cannot contain interactive if parent forbids interactive -->
+ <p><a><bdo dir="ltr"><a>text</a></bdo></a></p>
+ <p><a><dfn><bdo dir="ltr"><a>text</a></bdo></dfn></a></p>
+</body>
+</html>