[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/zpt.txt Added test to show that dynamic attributes properly replace static attributes, without respect to case.
Malthe Borch
mborch at gmail.com
Tue Sep 2 09:26:10 EDT 2008
Log message for revision 90706:
Added test to show that dynamic attributes properly replace static attributes, without respect to case.
Changed:
U z3c.pt/trunk/src/z3c/pt/zpt.txt
-=-
Modified: z3c.pt/trunk/src/z3c/pt/zpt.txt
===================================================================
--- z3c.pt/trunk/src/z3c/pt/zpt.txt 2008-09-02 13:25:38 UTC (rev 90705)
+++ z3c.pt/trunk/src/z3c/pt/zpt.txt 2008-09-02 13:26:09 UTC (rev 90706)
@@ -23,15 +23,16 @@
... xmlns:tal="http://xml.zope.org/namespaces/tal">
... <span id="test"
... class="dummy"
+ ... onclick=""
... tal:define="a 'abc'"
- ... tal:attributes="class 'def' + a; style 'hij'"
+ ... tal:attributes="class 'def' + a; style 'hij'; onClick 'alert();'"
... tal:content="a + 'ghi'" />
... <span tal:replace="'Hello World!'">Hello Universe!</span>
... <span tal:replace="'Hello World!'"><b>Hello Universe!</b></span>
... <span tal:content="None" />
... </div>""")
<div>
- <span class="defabc" style="hij" id="test">abcghi</span>
+ <span class="defabc" style="hij" onClick="alert();" id="test">abcghi</span>
Hello World!
Hello World!
<span></span>
More information about the Checkins
mailing list