summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/abbr
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /testing/web-platform/tests/conformance-checkers/html/elements/abbr
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/abbr')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/abbr/model-isvalid.html24
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/abbr/model-novalid.html18
2 files changed, 42 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/abbr/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/abbr/model-isvalid.html
new file mode 100644
index 000000000..59518af28
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/abbr/model-isvalid.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;abbr&gt;</title>
+</head>
+<body>
+ <!-- is structured inline -->
+ <p><abbr class="class" lang="en" title=''>text</abbr></p>
+
+ <!-- is strictly inline -->
+ <p><dfn><abbr title="text1" class="class" lang="en">text</abbr></dfn></p>
+
+ <!-- can be empty -->
+ <p>text <abbr title=''></abbr></p>
+ <p>text <dfn><abbr title=''></abbr></dfn></p>
+
+ <!-- can contain interactive -->
+ <p><abbr title=''><a>text</a></abbr></p>
+ <p><dfn><abbr title=''><a>text</a></abbr></dfn></p>
+
+ <!-- cannot contain structured inline -->
+</body>
+</html>
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/abbr/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/abbr/model-novalid.html
new file mode 100644
index 000000000..924c98ea3
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/abbr/model-novalid.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;abbr&gt;</title>
+</head>
+<body>
+ <!-- not a block -->
+ <abbr>text</abbr>
+
+ <!-- cannot contain structured inline -->
+ <p><abbr><ul><li>text</li></ul></abbr></p>
+
+ <!-- cannot contain interactive if parent forbids interactive -->
+ <p><a><abbr><a>text</a></abbr></a></p>
+ <p><a><dfn><abbr><a>text</a></abbr></dfn></a></p>
+</body>
+</html>