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

Unified Diff: pkg/polymer/example/scoped_style/my_test.html

Issue 23224003: move polymer.dart into dart svn (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add --deploy to todomvc sample Created 7 years, 4 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
« no previous file with comments | « pkg/polymer/example/scoped_style/index.html ('k') | pkg/polymer/lib/boot.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/example/scoped_style/my_test.html
diff --git a/pkg/polymer/example/scoped_style/my_test.html b/pkg/polymer/example/scoped_style/my_test.html
new file mode 100644
index 0000000000000000000000000000000000000000..facee55346067b76f3499427dd75f07fc475e629
--- /dev/null
+++ b/pkg/polymer/example/scoped_style/my_test.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Test Compopnent</title>
+</head>
+<body>
+<polymer-element name="my-test" extends="div">
+ <template>
+ <style>
+ p { color: red;}
+ </style>
+ <p>Inside element, should be red</p>
+ </template>
+ <script type="application/dart">
+ import 'package:polymer/polymer.dart';
+
+ @CustomTag('my-test')
+ class MyTest extends PolymerElement {}
+ </script>
+</polymer-element>
+</body>
+</html>
« no previous file with comments | « pkg/polymer/example/scoped_style/index.html ('k') | pkg/polymer/lib/boot.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698