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

Side by Side Diff: third_party/WebKit/LayoutTests/custom-elements/imports/resources/nested-level3.html

Issue 2242743002: Make custom elements work in HTML imports (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses tkent's comments. Created 4 years, 3 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 <script> 2 <script>
3 'use strict'; 3 'use strict';
4
4 class NestedLevel3 extends HTMLElement { 5 class NestedLevel3 extends HTMLElement {
5 constructor() { 6 constructor() {
6 super(); 7 super();
7 constructors.push({element: this, type: 'nested-level3'}); 8 constructors.push({element: this, type: 'nested-level3'});
8 } 9 }
9 } 10 }
10 customElements.define('c-c', NestedLevel3); 11 customElements.define('c-c', NestedLevel3);
11 </script> 12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698