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

Side by Side Diff: third_party/WebKit/LayoutTests/custom-elements/imports/resources/upgrade.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
(Empty)
1 <!DOCTYPE html>
2 <x-x id="aa"></x-x>
3 <y-y id="bb"></y-y>
4 <script>
5 'use strict';
6
7 customElements.define('x-x', class extends HTMLElement {
8 constructor() {
9 super();
10 reactions.push({ type: 'constructor', element: this });
11 }
12 });
13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698