jonkemp / jonkemp/inline-css

Parsing fails for font imports with multiple weights due to CSSOM parser issue

Open
#122 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
438
Forks
77
PR merge metrics
No merged PRs in 30d

Description

CSSOM doesn't expect `;` inside import statements.
However while importing fonts we can have multiple weights, where in we will have to use the `;`.

In this case, the parsing fails.
Have attached the issue link below. The workaround is also mentioned in the thread for whoever is facing this issue.
https://github.com/NV/CSSOM/issues/116

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.