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.

Look if we need to add a fallback for `word-break`

See original GitHub issue

Currently we are using word-break: break-word; in various places like code.

This isn’t a standard property, at least not yet.

See if we need to provide a fallback.

/CC @mdo @MartijnCuppens

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
XhmikosRcommented, Mar 2, 2019

We don’t, thus how I actually noticed the issue. Using vnu.jar’s web interface, which can also lint CSS, I saw the break-word errors and then looked into it.

IMO we shouldn’t use non-standard properties when possible, and when we do we need to make sure we have fallbacks.

Because something works in Chrome/Chromium, certainly doesn’t mean is standard, and we shouldn’t endorse this.

0reactions
XhmikosRcommented, Aug 25, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

word-wrap break-word does not work in this example
Word-Break has nothing to do with inline-block . Make sure you specify width and notice if there are any overriding attributes in parent...
Read more >
word-break - CSS: Cascading Style Sheets - MDN Web Docs
The word-break CSS property sets whether line breaks appear wherever the text would otherwise overflow its content box.
Read more >
hyphens | CSS-Tricks
The hyphens property controls hyphenation of text in block level elements. You can prevent hyphenation from happening at all, allow it, ...
Read more >
wrap, overflow - wrap - , and - word - break - LogRocket Blog
This property specifies whether the browser may break at otherwise disallowed points within a line to prevent overflow when an otherwise- ...
Read more >
[css-text-3] Implement or unship word-break:break-word #2390
We resolved to add word-break:break-word if Firefox and Edge found it necessary to implement for web compat reasons. It's been two years, ...
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