Index: chrome/test/data/extensions/samples/resizer/resizer.html |
diff --git a/chrome/test/data/extensions/samples/resizer/resizer.html b/chrome/test/data/extensions/samples/resizer/resizer.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0542474cc39629a07e3583999aa94c0e547c473f |
--- /dev/null |
+++ b/chrome/test/data/extensions/samples/resizer/resizer.html |
@@ -0,0 +1,33 @@ |
+<html> |
+ <head> |
+ <style> |
+.big { |
+ width: 500px; |
+ background-color: red; |
+ -webkit-transition: all .5s ease-out; |
+} |
+ |
+.small { |
+ width: 50px; |
+ background-color: blue; |
+ -webkit-transition: all .5s ease-out; |
+} |
+ </style> |
+ <script> |
+function toggle() { |
+ var resizer = document.getElementById('resizer'); |
+ if (resizer.className == 'big') { |
+ resizer.className = 'small'; |
+ resizer.innerHTML = '(small)'; |
+ } else { |
+ resizer.className = 'big'; |
+ resizer.innerHTML = 'BIG!'; |
+ } |
+} |
+</script> |
+ </head> |
+ <body |
+ <div onclick="toggle();" id="resizer" class="big"> BIG! </div> |
+ </body> |
+</html> |
+ |