<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>217124</bug_id>
          
          <creation_ts>2020-09-30 04:23:42 -0700</creation_ts>
          <short_desc>Using both CSS variable and url() in background shorthand changes the url path to root instead of relative</short_desc>
          <delta_ts>2020-10-01 23:40:42 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>Safari 14</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.15</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>198512</dup_id>
          
          <bug_file_loc>https://testcase.mangoweb.net/background-shorthand-vs-var/index</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="JC Simpson">bugzilla</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugzilla</cc>
    
    <cc>koivisto</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1693337</commentid>
    <comment_count>0</comment_count>
      <attachid>410106</attachid>
    <who name="JC Simpson">bugzilla</who>
    <bug_when>2020-09-30 04:23:42 -0700</bug_when>
    <thetext>Created attachment 410106
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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693838</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-10-01 12:45:54 -0700</bug_when>
    <thetext>Duplicate of bug 198512?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693994</commentid>
    <comment_count>2</comment_count>
    <who name="JC Simpson">bugzilla</who>
    <bug_when>2020-10-01 23:39:53 -0700</bug_when>
    <thetext>Yes, looks like it’s the same issue, sorry for the duplicate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693995</commentid>
    <comment_count>3</comment_count>
    <who name="JC Simpson">bugzilla</who>
    <bug_when>2020-10-01 23:40:42 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 198512 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>410106</attachid>
            <date>2020-09-30 04:23:42 -0700</date>
            <delta_ts>2020-09-30 04:23:42 -0700</delta_ts>
            <desc>reduced css testcase</desc>
            <filename>index.css</filename>
            <type>text/css</type>
            <size>505</size>
            <attacher name="JC Simpson">bugzilla</attacher>
            
              <data encoding="base64">OnJvb3QgewoJLS1iYWNrZ3JvdW5kLWNvbG9yOiAjY2VjZWNlOwp9CgoubG9nbyB7CgloZWlnaHQ6
IDI2MHB4OwoJd2lkdGg6IDI2MHB4Owp9CgovKiBXb3JrcyBhcyBleHBlY3RlZCAqLwoubG9nby5f
bm9WYXIgewoJYmFja2dyb3VuZDogI2NlY2VjZSB1cmwoaS9zYWZhcmktcHJldmlldy5wbmcpIDUw
JSA1MCUgbm8tcmVwZWF0Owp9Ci8qIERvZXMgbm90IHdvcmsgYXMgZXhwZWN0ZWQsIHRoZSBpbWFn
ZSBwYXRoIGlzIHdyb25nICovCi5sb2dvLl9zaG9ydGhhbmQgewoJYmFja2dyb3VuZDogdmFyKC0t
YmFja2dyb3VuZC1jb2xvcikgdXJsKGkvc2FmYXJpLXByZXZpZXcucG5nKSA1MCUgNTAlIG5vLXJl
cGVhdDsKfQovKiBXb3JrcyBhcyBleHBlY3RlZCAqLwoubG9nby5fc3BsaXREZWNsYXJhdGlvbnMg
ewoJYmFja2dyb3VuZDogdXJsKGkvc2FmYXJpLXByZXZpZXcucG5nKSA1MCUgNTAlIG5vLXJlcGVh
dDsKCWJhY2tncm91bmQtY29sb3I6IHZhcigtLWJhY2tncm91bmQtY29sb3IpOwp9Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>