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

CSS: Improve parsing of custom @-rules #8104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthiasblaesing
Copy link
Contributor

It was observed, that custom @-rules failed to properly parse when there was no whitespace present between the rule and the opening brace.

While this parsed:

    @-ms-viewport {
        width:1024px;
    }

This was not:

    @-ms-viewport{
        width:1024px;
    }

It was observed, that custom @-rules failed to properly parse when
there was no whitespace present between the rule and the opening brace.

While this parsed:

    @-ms-viewport {
        width:1024px;
    }

This was not:

    @-ms-viewport{
        width:1024px;
    }
@matthiasblaesing matthiasblaesing added CSS [ci] enable web job ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Jan 1, 2025
@matthiasblaesing matthiasblaesing added this to the NB25 milestone Jan 1, 2025
@matthiasblaesing
Copy link
Contributor Author

@DarryStraits you raised the issue about failed parsing of the sample depicted in the PR description. A test built is available from the checkpage or directly. Please see if that fixes your issue.

Copy link
Contributor

@lkishalmi lkishalmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I could see, this seems to be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) CSS [ci] enable web job
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants