You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-values] "fetch a style resource" should fall back to the CSSStyleSheet's location #12068
However, only stylesheets constructed from JS have a base URL set. For those that don't, I believe we should fall back to sheet's location, and only afterwards use the API base URL. As an example:
With the current algorithm, sheet has no base URL, so it would fall back to the API base URL, which is the document's location. It would thus try to load image.png instead of data/image.png. Inserting the sheet's location as a fallback means that it would load relative to data/sheet.css, and so get data/image.png.
Activity
weinig commentedon Apr 15, 2025
cc @fantasai, @tabatkins, @noamr, @annevk
noamr commentedon Apr 17, 2025
Makes sense, Happy to fix this once #12074 is merged (will do an overhaul of a few of these bugs in one go)
[css-vlaues-4] [css-cascade-4] [css-color-5] [css-fonts-4] [css-image…
[css-values-4] [css-cascade-4] [css-color-5] [css-fonts-4] [css-image…