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

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: Rebased to ToT. 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 {
6 var proto = Object.create(HTMLElement.prototype);
7 proto.createdCallback = function ()
8 {
9 recordElement(this);
10 };
11
12 document.registerElement('my-custom', {prototype: proto});
13 })();
14 </script>
15 <my-custom id="def-after"></my-custom>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698