[Python-checkins] CVS: python/dist/src/Tools/webchecker webchecker.py,1.23,1.24

Fred L. Drake fdrake@users.sourceforge.net
2001年4月05日 11:14:53 -0700


Update of /cvsroot/python/python/dist/src/Tools/webchecker
In directory usw-pr-cvs1:/tmp/cvs-serv15291
Modified Files:
	webchecker.py 
Log Message:
Added more link attributes based on additonal information from Chris
McCafferty <christopher.mccafferty@csg.ch>, and a bit of experimentation
with Navigator 4.7.
HTML-as-deployed is evil!
Index: webchecker.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/webchecker/webchecker.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** webchecker.py	2001年04月04日 17:47:25	1.23
--- webchecker.py	2001年04月05日 18:14:50	1.24
***************
*** 795,799 ****
 
 def do_body(self, attributes):
! self.link_attr(attributes, 'background')
 
 def do_img(self, attributes):
--- 795,799 ----
 
 def do_body(self, attributes):
! self.link_attr(attributes, 'background', 'bgsound')
 
 def do_img(self, attributes):
***************
*** 820,823 ****
--- 820,835 ----
 def do_script(self, attributes):
 self.link_attr(attributes, 'src')
+ 
+ def do_table(self, attributes):
+ self.link_attr(attributes, 'background')
+ 
+ def do_td(self, attributes):
+ self.link_attr(attributes, 'background')
+ 
+ def do_th(self, attributes):
+ self.link_attr(attributes, 'background')
+ 
+ def do_tr(self, attributes):
+ self.link_attr(attributes, 'background')
 
 def link_attr(self, attributes, *args):

AltStyle によって変換されたページ (->オリジナル) /