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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/nodetype.html

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 4 years 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/fast/dom/shadow/nodetype.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/nodetype.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/nodetype.html
index 6b25aa5157828b1bc5cf89d6ec5a52ce143a079b..1cf2a58d5302d3d93e988595ed43ea0e2589b24f 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/nodetype.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/nodetype.html
@@ -4,15 +4,15 @@
<script src="../../../resources/js-test.js"></script>
</head>
<body>
-<keygen id="keys" />
+<progress id="progress" max="100"></progress>
<pre id="console">
This tests the shadow host's and shadow root's nodeType.
</pre>
<script>
-var keygen = document.getElementById('keys');
-var shadow = internals.shadowRoot(keygen);
+var progress = document.getElementById('progress');
+var shadow = internals.shadowRoot(progress);
var shadowChild = shadow.firstChild;
-shouldBe('keygen.nodeType', 'Node.ELEMENT_NODE');
+shouldBe('progress.nodeType', 'Node.ELEMENT_NODE');
shouldBe('shadow.nodeType', 'Node.DOCUMENT_FRAGMENT_NODE');
shouldBeNonNull('shadowChild');
shouldBeTrue('shadowChild.nodeType != Node.DOCUMENT_FRAGMENT_NODE');

Powered by Google App Engine
This is Rietveld 408576698