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.
The text was updated successfully, but these errors were encountered:
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 addingword-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.
The text was updated successfully, but these errors were encountered: