Relative URLs in CSS variables/custom properties are resolved relative to the linking page, not the stylesheet

Issue #14949481 • Assigned to bbrinza

Details

Author
Luke D.
Created
Dec 5, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
16.16299
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Test at: https://lpd-au.github.io/CSS-Variable-Relative-URL-Test/

Expected behaviour: Relative URLs are resolved relative to /styles/test.css
Actual behaviour: Relative URLs are resolved relative to /index.html
See: https://github.com/w3c/csswg-drafts/issues/757

Works in latest Chromium and Firefox. Not relevant to IE.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “bbrinza”

    • Does anyone read these?

    • Guess not :(

    You need to sign in to your Microsoft account to add a comment.

    Sign in