summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/edits
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/html/semantics/edits
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/html/semantics/edits')
-rw-r--r--testing/web-platform/tests/html/semantics/edits/.gitkeep0
-rw-r--r--testing/web-platform/tests/html/semantics/edits/attributes-common-to-ins-and-del-elements/.gitkeep0
-rw-r--r--testing/web-platform/tests/html/semantics/edits/edits-and-lists/.gitkeep0
-rw-r--r--testing/web-platform/tests/html/semantics/edits/edits-and-paragraphs/.gitkeep0
-rw-r--r--testing/web-platform/tests/html/semantics/edits/edits-and-tables/.gitkeep0
-rw-r--r--testing/web-platform/tests/html/semantics/edits/the-del-element/.gitkeep0
-rw-r--r--testing/web-platform/tests/html/semantics/edits/the-del-element/del_effect.html19
-rw-r--r--testing/web-platform/tests/html/semantics/edits/the-ins-element/.gitkeep0
-rw-r--r--testing/web-platform/tests/html/semantics/edits/the-ins-element/ins_effect.html19
9 files changed, 38 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/semantics/edits/.gitkeep b/testing/web-platform/tests/html/semantics/edits/.gitkeep
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/edits/.gitkeep
diff --git a/testing/web-platform/tests/html/semantics/edits/attributes-common-to-ins-and-del-elements/.gitkeep b/testing/web-platform/tests/html/semantics/edits/attributes-common-to-ins-and-del-elements/.gitkeep
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/edits/attributes-common-to-ins-and-del-elements/.gitkeep
diff --git a/testing/web-platform/tests/html/semantics/edits/edits-and-lists/.gitkeep b/testing/web-platform/tests/html/semantics/edits/edits-and-lists/.gitkeep
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/edits/edits-and-lists/.gitkeep
diff --git a/testing/web-platform/tests/html/semantics/edits/edits-and-paragraphs/.gitkeep b/testing/web-platform/tests/html/semantics/edits/edits-and-paragraphs/.gitkeep
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/edits/edits-and-paragraphs/.gitkeep
diff --git a/testing/web-platform/tests/html/semantics/edits/edits-and-tables/.gitkeep b/testing/web-platform/tests/html/semantics/edits/edits-and-tables/.gitkeep
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/edits/edits-and-tables/.gitkeep
diff --git a/testing/web-platform/tests/html/semantics/edits/the-del-element/.gitkeep b/testing/web-platform/tests/html/semantics/edits/the-del-element/.gitkeep
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/edits/the-del-element/.gitkeep
diff --git a/testing/web-platform/tests/html/semantics/edits/the-del-element/del_effect.html b/testing/web-platform/tests/html/semantics/edits/the-del-element/del_effect.html
new file mode 100644
index 000000000..14297e529
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/edits/the-del-element/del_effect.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<meta charset=UTF-8>
+<title>HTML Test: Text in the del element should be 'line-through'</title>
+<link rel="author" title="Intel" href="http://www.intel.com/">
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-del-element">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+
+<p><del>crossed-off text</del></p>
+<div id="log"></div>
+
+<script>
+ test(function() {
+ var element = document.getElementsByTagName('del')[0],
+ textDecoration = getComputedStyle(element).textDecorationLine ||
+ getComputedStyle(element).textDecoration;
+ assert_equals(textDecoration, 'line-through');
+ });
+</script>
diff --git a/testing/web-platform/tests/html/semantics/edits/the-ins-element/.gitkeep b/testing/web-platform/tests/html/semantics/edits/the-ins-element/.gitkeep
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/edits/the-ins-element/.gitkeep
diff --git a/testing/web-platform/tests/html/semantics/edits/the-ins-element/ins_effect.html b/testing/web-platform/tests/html/semantics/edits/the-ins-element/ins_effect.html
new file mode 100644
index 000000000..6e1b34459
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/edits/the-ins-element/ins_effect.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<meta charset=UTF-8>
+<title>HTML Test: Text in the ins element should be 'underline'</title>
+<link rel="author" title="Intel" href="http://www.intel.com/">
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-ins-element">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+
+<p><ins>underlined text</ins></p>
+<div id="log"></div>
+
+<script>
+ test(function() {
+ var element = document.getElementsByTagName('ins')[0],
+ textDecoration = getComputedStyle(element).textDecorationLine ||
+ getComputedStyle(element).textDecoration;
+ assert_equals(textDecoration, 'underline');
+ });
+</script>