Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support URIs in the href property of link tags (like <link href = "file://">). #2073

Open
RokeJulianLockhart opened this issue Nov 24, 2024 · 0 comments
Assignees

Comments

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Nov 24, 2024

Is your feature request related to a problem? Please describe.

I am unable to link a CSS file via the file:// URI schema. Instead, I must utilize a path.

Describe the solution you'd like

Support the undermentioned HTML:

<link
	type = "text/CSS"
	rel  = "stylesheet"
	href = "file://localhost/home/RokeJulianLockhart/CascadingStyleSheets.CSS"
>

Specifically, support URIs as the value of the href property, at least file:-schema URIs.

Describe alternatives you've considered

  1. Support solely file:-schema URIs, if support for HTTP(S):// (etcetera) is undesirable.
  2. Support solely paths.
  3. Support solely <style>.

Additional context

Originally reported at microsoft/vscode#225927 (comment), but closed due to lack of response by developers.

@RokeJulianLockhart RokeJulianLockhart changed the title [Feature Request] Support the file URI schema in the href property of link tags (like <link href = "file://">). [Feature Request] Support URIs in the href property of link tags (like <link href = "file://">). Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants