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.

`display` should not allow an arbitrary string

See original GitHub issue

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
pelotomcommented, Feb 12, 2018

Ah, I never knew display supported multiple values.

2reactions
freniccommented, Feb 12, 2018

According to spec, the syntax tells us that you’re able to use space separated values. So fallback to string is necessary. But a goal I have is that display won’t do that so I’m currently experimenting of combining data types with keywords to prevent that. So the result will be like: 'block' | 'flow' | 'block flow' | 'flow block' | ...

Read more comments on GitHub >

github_iconTop Results From Across the Web

String functions and how to use them - Microsoft Support
Display the Expression Builder in a desktop database · Open a desktop database (. · Press F11 to open the Navigation Pane, if...
Read more >
Strings on the Web: Language and Direction Metadata - W3C
This document describes the best practices for identifying language and base direction for strings used on the Web.
Read more >
Handling text — strings in JavaScript - Learn web development
These lines don't work because any text without quotes around it is assumed to be a variable name, property name, a reserved word,...
Read more >
Basic Input, Output, and String Formatting in Python
In this step-by-step Python tutorial, you'll learn how to take user input from the keyboard with the built-in function input(), how to display...
Read more >
Python Strings | Python Education - Google Developers
The [ ] syntax and the len() function actually work on any sequence ... Unlike Java, the '+' does not automatically convert numbers...
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