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.

{{CSS_Ref}} misses some data entries

See original GitHub issue

Somehow the {{CSS_Ref}} macros misses the @document at rule in the CSS references

The brief investigation has revealed that the culprit isn’t data source for sure: https://github.com/mdn/data/blob/master/css/at-rules.json#L113-L124

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
wbambergcommented, Jul 26, 2021

Since the the @document at-rule is now deprecated. The KS macros CSS_Ref could be intentionally missing that @document rule since its been removed from relevant web standards. Not entirely sure though.

That seems to be more or less right:

https://github.com/mdn/yari/blob/9a3034427db8201c7decbff7cea23bb160050be5/kumascript/macros/CSS_Ref.ejs#L20

https://github.com/mdn/yari/blob/9a3034427db8201c7decbff7cea23bb160050be5/kumascript/macros/CSS_Ref.ejs#L175-L177

1reaction
hinellcommented, Jul 26, 2021

@tannerdolby Sounds reasonable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS not working in stylesheet - Stack Overflow
Am I missing something? I am not changing any of the code, its simply a copy and paste. css.
Read more >
Can css be styleInjected in library mode? #1579 - vitejs/vite
After upgrading to 3.1.0 that functionality is gone, CSS is not inlined at all, there's not even a separate CSS file generated.
Read more >
4 Syntax and basic data types
The syntax of values is specified separately for each property, but in any case, values are built from identifiers, strings, numbers, lengths, percentages,...
Read more >
CSS Reference - W3Schools
display, Specifies how a certain HTML element should be displayed ... font-synthesis, Controls which missing typefaces (bold or italic) may be synthesized ...
Read more >
outline - CSS-Tricks
The outline property in CSS draws a line around the outside of an element. It's similar to border except that:
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