[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form/tests - test_browserwidget.py:1.18

Garrett Smith garrett at mojave-corp.com
Tue Jan 20 13:57:02 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/form/tests
In directory cvs.zope.org:/tmp/cvs-serv3921/src/zope/app/browser/form/tests

Modified Files:
	test_browserwidget.py 
Log Message:
Replaced use of 'acronym' with 'span' for use in tooltips. The tooltips
implementation is still not perfect as browsers handle the 'title' attr of span
differently, though for most this will work.


=== Zope3/src/zope/app/browser/form/tests/test_browserwidget.py 1.17 => 1.18 ===
--- Zope3/src/zope/app/browser/form/tests/test_browserwidget.py:1.17	Thu Nov 27 08:59:13 2003
+++ Zope3/src/zope/app/browser/form/tests/test_browserwidget.py	Tue Jan 20 13:56:31 2004
@@ -93,7 +93,7 @@
         label = ' '.join(self._widget.label().strip().split())
         self.assertEqual(label,
                 '<label for="field.foo">'
-                '<acronym title="Foo Description">Foo Title</acronym></label>'
+                '<span title="Foo Description">Foo Title</span></label>'
                 )
 
     def testDescription(self):




More information about the Zope3-Checkins mailing list