Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/dom/elements/elements-in-the-dom/historical.html

Issue 2610243002: Import wpt@5e1a3b80cea8d36774d2afd78b29a74792e9f15a (Closed)
Patch Set: Rebased Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/html/dom/elements/elements-in-the-dom/historical.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/dom/elements/elements-in-the-dom/historical.html b/third_party/WebKit/LayoutTests/imported/wpt/html/dom/elements/elements-in-the-dom/historical.html
new file mode 100644
index 0000000000000000000000000000000000000000..c18ee318f5013932ee90afd0c4d584f2e6e3404d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/dom/elements/elements-in-the-dom/historical.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<title>Historical HTMLElement features</title>
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+<body>
+<script>
+[
+ // https://github.com/whatwg/html/commit/389ec2620d89e9480ef8847bf016abdfa92427bc
+ "commandType",
+ "commandLabel",
+ "commandIcon",
+ "commandHidden",
+ "commandDisabled",
+ "commandChecked",
+ "commandTriggers",
+ // https://github.com/whatwg/html/commit/5ddfc78b1f82e86cc202d72ccc752a0e15f1e4ad
+ "inert",
+].forEach(function(member) {
+ test(function() {
+ assert_false(member in document.body);
+ assert_false(member in document.createElement('div'));
+ }, 'HTMLElement member must be nuked: ' + member);
+});
+</script>

Powered by Google App Engine
This is Rietveld 408576698