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

Side by Side Diff: third_party/WebKit/LayoutTests/custom-elements/imports/resources/nested-level2.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 <link rel="import" href="nested-level3.html"> 2 <link rel="import" href="nested-level3.html">
3 <script> 3 <script>
4 'use strict'; 4 'use strict';
5
5 class NestedLevel2 extends HTMLElement { 6 class NestedLevel2 extends HTMLElement {
6 constructor() { 7 constructor() {
7 super(); 8 super();
8 constructors.push({element: this, type: 'nested-level2'}); 9 constructors.push({element: this, type: 'nested-level2'});
9 } 10 }
10 } 11 }
11 customElements.define('b-b', NestedLevel2); 12 customElements.define('b-b', NestedLevel2);
12 </script> 13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698