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

Unified Diff: pkg/shadow_dom/tool/play.html

Issue 158083002: introduce web_components pkg for consolidated polyfills (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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: pkg/shadow_dom/tool/play.html
diff --git a/pkg/shadow_dom/tool/play.html b/pkg/shadow_dom/tool/play.html
deleted file mode 100644
index f17b4710d59a3089627f0caec478b8a2b6d66e26..0000000000000000000000000000000000000000
--- a/pkg/shadow_dom/tool/play.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright 2012 The Polymer Authors. All rights reserved.
-Use of this source code is goverened by a BSD-style
-license that can be found in the LICENSE file.
--->
-<meta charset="utf-8">
-<script src="shadowdom.js"></script>
-<style>
-
-.el,
-.sr {
- height: 300px;
- width: 300px;
-}
-
-</style>
-<textarea class="el" placeholder="Element host"></textarea>
-<textarea class="sr" placeholder="Shadow Root"></textarea>
-<button onclick="update()">Update</button>
-
-<div class="test">Real</div>
-
-<script>
-
-var el = document.querySelector('.test');
-var sr = el.createShadowRoot();
-
-sr.innerHTML = 'Before <content></content> After';
-
-function update() {
- el.innerHTML = document.querySelector('.el').value;
- sr.innerHTML = document.querySelector('.sr').value;
-}
-
-document.querySelector('.el').value = el.innerHTML;
-document.querySelector('.sr').value = sr.innerHTML;
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698