Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Word-break inconsistency between Chrome and Firefox #851

Open
Gaboris opened this issue Jan 24, 2021 · 1 comment
Open

Word-break inconsistency between Chrome and Firefox #851

Gaboris opened this issue Jan 24, 2021 · 1 comment

Comments

@Gaboris
Copy link

Gaboris commented Jan 24, 2021

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.

@VixieTSQ
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants