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

Unified Diff: trunk/LayoutTests/fast/html/imports/resources/custom-element-style.html

Issue 201673005: Revert 169577 "[HTML Import] Let script block by pending resourc..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: trunk/LayoutTests/fast/html/imports/resources/custom-element-style.html
===================================================================
--- trunk/LayoutTests/fast/html/imports/resources/custom-element-style.html (revision 169768)
+++ trunk/LayoutTests/fast/html/imports/resources/custom-element-style.html (working copy)
@@ -1,16 +0,0 @@
-<!DOCTYPE html>
-<template>
-<style>
-@import url(hello.css);
-</style>
-<h1>Hello</h1>
-</template>
-<script>
-var t = document.currentScript.ownerDocument.querySelector('template');
-var proto = Object.create(HTMLElement.prototype);
-proto.createdCallback = function() {
- var root = this.createShadowRoot();
- root.appendChild(document.importNode(t.content));
-};
-document.registerElement('x-test', {prototype: proto});
-</script>
« no previous file with comments | « trunk/LayoutTests/fast/html/imports/custom-element-style-block.html ('k') | trunk/Source/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698