normalize.css icon indicating copy to clipboard operation
normalize.css copied to clipboard

Word-break inconsistency between Chrome and Firefox

Open Gaboris opened this issue 4 years ago • 1 comments

While my friend was working on a project to learn how to build a webpage they've found that Chrome doesn't wrap its links at all while Firefox does.

After taking a look at the matter it seems that Chrome uses a different default value for word-break then Firefox as after adding word-break: break-word; on its links it behaved the same way as Firefox did.

Can anyone confirm this? I can't remember where to find the default styles right no, but it would be nice to follow FF's more reasonable approach.

I also saw that similar questions have come up before and they were put aside because of "unexpected behaviors", but this seems like a special case as it to only happens with the <a> tag so it could be an exception.

My friend also said that they'll do a fork and add a fix for it in case the project would want to add it in as a pull request.

Gaboris avatar Jan 24 '21 20:01 Gaboris

I'm said friend. Just created the pull request. I tested it with another friend it works with their Chrome.

VixieTSQ avatar Jan 24 '21 20:01 VixieTSQ