Skip to content

script failed on local css links #90

@viT-1

Description

@viT-1

** Description **
Just run test.htm directly from disk drive
with css link to local file in same directory.

Error on L636 (fetchCss function): request.open('GET', url);

** Version **
4.1.0

** To Reproduce **
ie11failedVar.css:

[iam-body] {
	--myColor: green;
}

[iam-p] {
	color: var(--myColor);
}

ie11failedVar.htm:

<link rel="stylesheet" type="text/css" href="ie11failedVar.css" />
<script>window.MSInputMethodContext && document.documentMode && document.write('<script src="https://cdn.jsdelivr.net/npm/[email protected]/ie11CustomProperties.js"><\/script>');</script>
<body iam-body>
	<p iam-p>Test green</p>
	<p>Not green</p>
</body>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions