summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/time
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/time
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/time')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/time/datetime-isvalid.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/time/datetime-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/time/datetime-isvalid.html
new file mode 100644
index 000000000..644608b15
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/time/datetime-isvalid.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;t&gt;</title>
+</head>
+<body>
+ <!-- is structured inline -->
+ <p><time datetime='2006-11-20'>text</time></p>
+
+ <!-- is strictly inline -->
+ <p><dfn><time datetime='2006-11-20'>text</time></dfn></p>
+
+ <!-- can be empty -->
+ <p>text <time datetime='2006-11-20'></time></p>
+ <p>text <dfn><time datetime='2006-11-20'></time></dfn></p>
+
+ <!-- can contain interactive -->
+ <p><time datetime='2006-11-20'><a>text</a></time></p>
+ <p><dfn><time datetime='2006-11-20'><a>text</a></time></dfn></p>
+
+ <!-- vague moment of time in attribute -->
+ <p><time datetime='2006-11-20T16:24'>text</time></p>
+ <p><time datetime='2006-11-20T16:24:33'>text</time></p>
+ <p><time datetime='2006-11-20T16:24:33.89'>text</time></p>
+
+ <p><time datetime='2006-11-20T16:24Z'>text</time></p>
+ <p><time datetime='2006-11-20T16:24:33Z'>text</time></p>
+ <p><time datetime='2006-11-20T16:24:33.89Z'>text</time></p>
+
+ <p><time datetime='2006-11-20T16:24+02:00'>text</time></p>
+ <p><time datetime='2006-11-20T16:24:33+02:00'>text</time></p>
+ <p><time datetime='2006-11-20T16:24:33.89+02:00'>text</time></p>
+
+ <p><time datetime='16:24'>text</time></p>
+ <p><time datetime='16:24:33'>text</time></p>
+ <p><time datetime='16:24:33.89'>text</time></p>
+
+ <!-- vague moment of time in content -->
+ <p><time>2006-11-20T16:24</time></p>
+ <p><time>2006-11-20T16:24:33</time></p>
+ <p><time>2006-11-20T16:24:33.89</time></p>
+
+ <p><time>2006-11-20T16:24Z</time></p>
+ <p><time>2006-11-20T16:24:33Z</time></p>
+ <p><time>2006-11-20T16:24:33.89Z</time></p>
+
+ <p><time>2006-11-20T16:24+02:00</time></p>
+ <p><time>2006-11-20T16:24:33+02:00</time></p>
+ <p><time>2006-11-20T16:24:33.89+02:00</time></p>
+
+ <p><time>16:24</time></p>
+ <p><time>16:24:33</time></p>
+ <p><time>16:24:33.89</time></p>
+
+</body>
+</html>