315
315
self.style(elem)._update_cssdict(cssdict)
316
316
for elem in xpath(tree, '//h:*[@style]'):
317
317
self.style(elem)._apply_style_attr(url_replacer=item.abshref)
319
319
for elem in xpath(tree, '//h:img[@width or @height]'):
321
321
# Check if either height or width is not default