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