mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +00:00
Meta: Download support images along their respective WPT tests
This commit is contained in:
parent
022141647a
commit
d6fb1b61ac
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class LinkedResourceFinder(HTMLParser):
|
||||||
|
|
||||||
def handle_starttag(self, tag, attrs):
|
def handle_starttag(self, tag, attrs):
|
||||||
self._tag_stack_.append(tag)
|
self._tag_stack_.append(tag)
|
||||||
if tag == "script":
|
if tag in ["script", "img"]:
|
||||||
attr_dict = dict(attrs)
|
attr_dict = dict(attrs)
|
||||||
if "src" in attr_dict:
|
if "src" in attr_dict:
|
||||||
src_values.append(attr_dict["src"])
|
src_values.append(attr_dict["src"])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue