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
Let parsedUrl be the result of the URL parser steps with rule’s URL and parentStylesheet’s location. If the algorithm returns an error, return. [CSSOM]
The resulting parsedURL won't have any of the <request-url-modifier>s that the original @import's URL may have had, when it is then passed to "fetch a style resource".
It's also confusing that we parse the URL here, and then step 3 of "fetch a style resource" parses the URL again:
Let parsedUrl be the result of the URL parser steps with urlValue’s url and base. If the algorithm returns an error, return.
"Fetch an import" step 3 says:
The resulting
parsedURL
won't have any of the<request-url-modifier>
s that the original@import
's URL may have had, when it is then passed to "fetch a style resource".It's also confusing that we parse the URL here, and then step 3 of "fetch a style resource" parses the URL again:
Maybe "fetch an import" step 3 is just redundant?
cc: @noamr
The text was updated successfully, but these errors were encountered: