mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
LibWeb: Absolutize CSS image URLs for computed style resolution
For getComputedStyle(), we must return an absolute URL for image style values. We currently return the raw parsed URL. This fixes loading the marker icons on https://usermap.serenityos.org.
This commit is contained in:
Notes:
github-actions[bot]
2025-06-03 23:31:44 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/7d99a921350 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4980 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -2,6 +2,7 @@ Harness status: OK
|
||||
|
||||
Found 2 tests
|
||||
|
||||
2 Fail
|
||||
Fail base-relative URL: relative-image-url
|
||||
1 Pass
|
||||
1 Fail
|
||||
Pass base-relative URL: relative-image-url
|
||||
Fail base-relative URL: relative-image-variable-url
|
||||
@@ -2,7 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 3 tests
|
||||
|
||||
3 Fail
|
||||
Fail stylesheet-relative URL: stylesheet-relative-image
|
||||
1 Pass
|
||||
2 Fail
|
||||
Pass stylesheet-relative URL: stylesheet-relative-image
|
||||
Fail stylesheet-relative URL: stylesheet-relative-variable-image
|
||||
Fail stylesheet-relative URL: stylesheet-relative-document-variable-image
|
||||
Reference in New Issue
Block a user