diff options
author | Andreas Kling <kling@serenityos.org> | 2023-03-22 23:56:11 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-03-22 23:34:32 +0000 |
commit | d005b1ad1b085fc1758854084609a9006c6df7f9 (patch) | |
tree | ee4fe88d75690a72cb6efeaaf262c13a89a117f0 /Tests/LibWeb/Layout/input/link-sheet.css | |
parent | 652676fdc101cebbafcafd230047027625ec1d70 (diff) | |
download | serenity-d005b1ad1b085fc1758854084609a9006c6df7f9.zip |
LibWeb: Support loading file:// URLs via fetch (through ResourceLoader)
This builds on the existing ad-hoc ResourceLoader code for HTTP fetches
which works for files as well.
This also includes a test that checks that stylesheets loaded with the
"file" URL scheme actually work.
Diffstat (limited to 'Tests/LibWeb/Layout/input/link-sheet.css')
-rw-r--r-- | Tests/LibWeb/Layout/input/link-sheet.css | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/LibWeb/Layout/input/link-sheet.css b/Tests/LibWeb/Layout/input/link-sheet.css new file mode 100644 index 0000000000..4feef78b13 --- /dev/null +++ b/Tests/LibWeb/Layout/input/link-sheet.css @@ -0,0 +1,7 @@ +#foo { + position: absolute; + top: 0; + left: 0; + width: 123px; + height: 456px; +} |