Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d34a9c9

Browse files
committed
Added more link attributes based on additonal information from Chris
McCafferty <[email protected]>, and a bit of experimentation with Navigator 4.7. HTML-as-deployed is evil!
1 parent 37f0263 commit d34a9c9

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

Tools/webchecker/webchecker.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ def do_area(self, attributes):
794794
self.link_attr(attributes, 'href')
795795

796796
def do_body(self, attributes):
797-
self.link_attr(attributes, 'background')
797+
self.link_attr(attributes, 'background', 'bgsound')
798798

799799
def do_img(self, attributes):
800800
self.link_attr(attributes, 'src', 'lowsrc')
@@ -820,6 +820,18 @@ def do_object(self, attributes):
820820
def do_script(self, attributes):
821821
self.link_attr(attributes, 'src')
822822

823+
def do_table(self, attributes):
824+
self.link_attr(attributes, 'background')
825+
826+
def do_td(self, attributes):
827+
self.link_attr(attributes, 'background')
828+
829+
def do_th(self, attributes):
830+
self.link_attr(attributes, 'background')
831+
832+
def do_tr(self, attributes):
833+
self.link_attr(attributes, 'background')
834+
823835
def link_attr(self, attributes, *args):
824836
for name, value in attributes:
825837
if name in args:

0 commit comments

Comments
 (0)