Bug 217124

Summary: Using both CSS variable and url() in background shorthand changes the url path to root instead of relative
Product: WebKit Reporter: JC Simpson <bugzilla>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bugzilla, koivisto, simon.fraser
Priority: P2    
Version: Safari 14   
Hardware: Mac   
OS: macOS 10.15   
URL: https://testcase.mangoweb.net/background-shorthand-vs-var/index
Attachments:
Description Flags
reduced css testcase none

JC Simpson
Reported 2020-09-30 04:23:42 PDT
Created attachment 410106 [details] reduced css testcase When using both a css var and an url() in a background shorthand declaration the url is changed, apparently to the root domain instead of staying relative to the css stylesheet file as expected. https://testcase.mangoweb.net/background-shorthand-vs-var/index
Attachments
reduced css testcase (505 bytes, text/css)
2020-09-30 04:23 PDT, JC Simpson
no flags
Alexey Proskuryakov
Comment 1 2020-10-01 12:45:54 PDT
Duplicate of bug 198512?
JC Simpson
Comment 2 2020-10-01 23:39:53 PDT
Yes, looks like it’s the same issue, sorry for the duplicate.
JC Simpson
Comment 3 2020-10-01 23:40:42 PDT
*** This bug has been marked as a duplicate of bug 198512 ***
Note You need to log in before you can comment on or make changes to this bug.