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

Side by Side Diff: third_party/WebKit/LayoutTests/custom-elements/imports/resources/parser-create-element.html

Issue 2242743002: Make custom elements work in HTML imports (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test Created 4 years, 4 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
(Empty)
1 <a-a id="a"></a-a>
2 <script>
3 'use strict';
4 test(() => {
5 assert_equals(constructors.length, 0);
6
7 customElements.define('a-a', class extends HTMLElement {
8 constructor() {
9 super();
10 constructors.push(this);
11 }
12 });
13 }, 'Custom Element definition should upgrade parsed elements in import.');
14 </script>
15 <a-a id="b"></a-a>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698