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

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: Revert histograms.xml Created 3 years, 7 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/pull/2402 16 // https://github.com/whatwg/html/pull/2402
17 "dropzone", 17 "dropzone",
18 // https://github.com/whatwg/html/commit/5ddfc78b1f82e86cc202d72ccc752a0e15f1e 4ad
19 "inert",
20 ].forEach(function(member) { 18 ].forEach(function(member) {
21 test(function() { 19 test(function() {
22 assert_false(member in document.body); 20 assert_false(member in document.body);
23 assert_false(member in document.createElement('div')); 21 assert_false(member in document.createElement('div'));
24 }, 'HTMLElement member must be nuked: ' + member); 22 }, 'HTMLElement member must be nuked: ' + member);
25 }); 23 });
26 </script> 24 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698