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> |