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

Side by Side Diff: chrome/test/data/extensions/samples/resizer/resizer.html

Issue 99172: Part 1 of sample sprucing. (Closed)
Patch Set: Added buildbot.crx, since that seems like something people might want to install. Created 11 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3 <style>
4 .big {
5 width: 500px;
6 background-color: red;
7 -webkit-transition: all .5s ease-out;
8 }
9
10 .small {
11 width: 50px;
12 background-color: blue;
13 -webkit-transition: all .5s ease-out;
14 }
15 </style>
16 <script>
17 function toggle() {
18 var resizer = document.getElementById('resizer');
19 if (resizer.className == 'big') {
20 resizer.className = 'small';
21 resizer.innerHTML = '(small)';
22 } else {
23 resizer.className = 'big';
24 resizer.innerHTML = 'BIG!';
25 }
26 }
27 </script>
28 </head>
29 <body
30 <div onclick="toggle();" id="resizer" class="big"> BIG! </div>
31 </body>
32 </html>
33
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/samples/resizer/manifest.json ('k') | chrome/test/data/extensions/samples/subscribe.crx » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698