question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[beta] CSS Parsing Issue on certain Challenges

See original GitHub issue

The 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.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
RandellDawsoncommented, Jan 31, 2019

This issue has now been resolved in PR #34801. It may be a while before the change is moved to production though.

1reaction
ParaBoltcommented, Mar 6, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found