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

Side by Side Diff: LayoutTests/http/tests/htmlimports/resources/custom-element-def.html

Issue 238923009: HTML Imports: No more BlockingDocumentCreation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed the build breakage Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <my-custom id="def-before"></my-custom>
3 <script>
4 (function() {
5 var proto = Object.create(HTMLElement.prototype);
6 proto.createdCallback = function () {
dominicc (has gone to gerrit) 2014/04/18 00:56:25 It's my bad habit to write function () { but I *th
Hajime Morrita 2014/04/18 01:48:33 Done.
7 recordElement(this);
8 };
9
10 document.registerElement('my-custom', {prototype: proto});
11 })();
12 </script>
13 <my-custom id="def-after"></my-custom>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698