mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00: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:
parent
3ae2220534
commit
7d99a92135
Notes:
github-actions[bot]
2025-06-03 23:31:44 +00:00
Author: https://github.com/trflynn89
Commit: 7d99a92135
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4980
Reviewed-by: https://github.com/AtkinsSJ ✅
4 changed files with 37 additions and 4 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue