Bug 217124 - Using both CSS variable and url() in background shorthand changes the url path to root instead of relative
Summary: Using both CSS variable and url() in background shorthand changes the url pat...
Status: RESOLVED DUPLICATE of bug 198512
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 14
Hardware: Mac macOS 10.15
: P2 Normal
Assignee: Nobody
URL: https://testcase.mangoweb.net/backgro...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-30 04:23 PDT by JC Simpson
Modified: 2020-10-01 23:40 PDT (History)
3 users (show)

See Also:


Attachments
reduced css testcase (505 bytes, text/css)
2020-09-30 04:23 PDT, JC Simpson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description JC Simpson 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
Comment 1 Alexey Proskuryakov 2020-10-01 12:45:54 PDT
Duplicate of bug 198512?
Comment 2 JC Simpson 2020-10-01 23:39:53 PDT
Yes, looks like it’s the same issue, sorry for the duplicate.
Comment 3 JC Simpson 2020-10-01 23:40:42 PDT

*** This bug has been marked as a duplicate of bug 198512 ***