[beta] CSS Parsing Issue on certain Challenges
See original GitHub issueThe Issue
In certain challenges (listed below), if there is a space between property and colon, the tests will fail to validate even though code has been written correctly.
Meaning, This code fails :-
selector {
property : value;
}
and this code passes :-
selector {
property:value;
}
Examples
There are more, I’ll update here as I find them.
- Applied Visual Design: Adjust the background-color Property of Text
- Applied Visual Design: Add a box-shadow to a Card-like Element
- Applied Visual Design: Create a Gradual CSS Linear Gradient
- Applied Visual Design: Adjust the Hover State of an Anchor Tag
- Applied Visual Design: Learn about Tertiary Colors
- Applied Visual Design: Adjust the Hue of a Color
- CSS Flexbox: Apply the flex-direction Property to Create Rows in the Tweet Embed
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
788936 - Steal local file contents by abusing liberal CSS parsing
This allows to exfiltrate data from cross-origin local files via a CSS injection. This is a small variation of @filedescriptor's https://bugs.
Read more >You tried to parse SCSS with the standard CSS parser
The error is specific to Angular CLI. Our project uses Angular Universal, and building the code and serving it via Node work as...
Read more >Intent to Ship: CSS @supports : Always non-forgiving parsing
Am I understanding correctly that content that now uses a functional selector argument that's invalid may break as a result of this? If...
Read more >CSS Syntax Module Level 3 - W3C
This module defines the abstract syntax and parsing of CSS stylesheets and other things which use CSS syntax (such as the HTML style...
Read more >The CSS for spoilers is a mess. Let's fix it!
Perhaps the biggest issue is that the styling is wildly inconsistent between sites, and so are the bugs in it. Some bugs only...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue has now been resolved in PR #34801. It may be a while before the change is moved to production though.
It is correct syntax, parsed and rendered by the browser correctly. And as I mention, that style of CSS passes in all other tests, yet fails in the above-mentioned ones as well as a few others even though the result is rendered correctly on the result view screen.