Bug 232919
Summary: | variable reference causes incorrect base URL to be applied to url() values | ||
---|---|---|---|
Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | darin, marcos |
Priority: | P2 | ||
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://mcc.id.au/temp/style-sheet-relative-image-var.html | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=232906 |
Cameron McCormack (:heycam)
STR:
1. Open https://mcc.id.au/temp/style-sheet-relative-image-var.html.
2. Result should be green, not red.
The presence of the var() reference in the background-image declaration causes the previous url() to be resolved against the document URL, and not the style sheet URL.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Darin Adler
Surprised that this is still wrong after the fix for bug 230243.
Darin Adler
It’s not wrong. This is a duplicate of bug 230243 and already fixed on TOT.
*** This bug has been marked as a duplicate of bug 230243 ***