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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/html/dom/elements/elements-in-the-dom/historical.html

Issue 2088453002: Implement the inert attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dmazzoni comments 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 unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <title>Historical HTMLElement features</title> 2 <title>Historical HTMLElement features</title>
3 <script src=/resources/testharness.js></script> 3 <script src=/resources/testharness.js></script>
4 <script src=/resources/testharnessreport.js></script> 4 <script src=/resources/testharnessreport.js></script>
5 <body> 5 <body>
6 <script> 6 <script>
7 [ 7 [
8 // https://github.com/whatwg/html/commit/389ec2620d89e9480ef8847bf016abdfa9242 7bc 8 // https://github.com/whatwg/html/commit/389ec2620d89e9480ef8847bf016abdfa9242 7bc
9 "commandType", 9 "commandType",
10 "commandLabel", 10 "commandLabel",
11 "commandIcon", 11 "commandIcon",
12 "commandHidden", 12 "commandHidden",
13 "commandDisabled", 13 "commandDisabled",
14 "commandChecked", 14 "commandChecked",
15 "commandTriggers", 15 "commandTriggers",
16 // https://github.com/whatwg/html/commit/5ddfc78b1f82e86cc202d72ccc752a0e15f1e 4ad
17 "inert",
18 ].forEach(function(member) { 16 ].forEach(function(member) {
19 test(function() { 17 test(function() {
20 assert_false(member in document.body); 18 assert_false(member in document.body);
21 assert_false(member in document.createElement('div')); 19 assert_false(member in document.createElement('div'));
22 }, 'HTMLElement member must be nuked: ' + member); 20 }, 'HTMLElement member must be nuked: ' + member);
23 }); 21 });
24 </script> 22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698