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

Side by Side Diff: utils/tests/template/nestedview.tmpl

Issue 9728009: Template bug fixes and new features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Undid css.status change Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 template NestedView(Person person1, Person person2) {
2 <div>
3 <span var=a1>
4 <h1>
5 ${#with person1 p1}
6 <div>
7 <span>${p1.name}</span>
8 <span>-</span>
9 <span>${p1.age}</span>
10 <div style="background-color:yellow;">
11 ${#with person2 p2}
12 <div>
13 <span style="color:green;">${p2.age}</span>
14 <span>-</span>
15 <span style="color:green;">${p2.name}</span>
16 <div style="color:blue;font-weight:bold">${p1.name}=${p2.age}< /div>
17 </div>
18 ${/with}
19 <div style="background-color:green; color: red;">${p1.name}</div>
20 </div>
21 </div>
22 ${/with}
23 </h1>
24 </span>
25 </div>
26 }
27
OLDNEW
« no previous file with comments | « utils/tests/template/name_entry_text.tmpl ('k') | utils/tests/template/productview_localname.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698