mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
Meta: Download support images along their respective WPT tests
This commit is contained in:
parent
f29457b61e
commit
325d1bb853
Notes:
github-actions[bot]
2024-12-19 09:56:01 +00:00
Author: https://github.com/LucasChollet Commit: https://github.com/LadybirdBrowser/ladybird/commit/325d1bb853c Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2929 Reviewed-by: https://github.com/tcl3 ✅
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class LinkedResourceFinder(HTMLParser):
|
|||
|
||||
def handle_starttag(self, tag, attrs):
|
||||
self._tag_stack_.append(tag)
|
||||
if tag == "script":
|
||||
if tag in ["script", "img"]:
|
||||
attr_dict = dict(attrs)
|
||||
if "src" in attr_dict:
|
||||
src_values.append(attr_dict["src"])
|
||||
|
|
Loading…
Add table
Reference in a new issue