Re: [csswg-drafts] [css-text] Ability to control hyphenation of proper nouns/capitalised words (#5157)

Why would you not want to hyphenate capitalized words? That decision makes aboslutely no sense. It seems that, as usual, decisions are taken looking only at English and not taking into account that other languges may have different needs.

Take this example:
![image](https://user-images.githubusercontent.com/4654741/164453703-2d308db2-000f-4690-9fcc-a690972b39cc.png)

A single-word headline which, as you would exepct, starts with a capital letter. Not getting hyphenated because of this stupid argument. Did no-one stop to think that not hyphenating the first word in a sentence might be a bad idea?

You absolutely CANNOT use capital letters to detect proper nouns. German capitalizes every single noun and those can be quite long. You cannot make random expections for different languages. The web is supposed to work for all languages, yet we are once again seeing the one-sided American view that "every language must work like English".

And why would you not want to hyphenate proper nouns in the first place? They are words like any other and they need to be hyphenated when they would protude out of their box.

This decision needs to be reverted ASAP. It makes CSS hyphenation pretty much useless, forcing us to use bloated JS libraries for what should be something that just works in the browser. Word processors have been doing automatic hyphenation for decades, it can't be that hard.


-- 
GitHub Notification of comment by arknu
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5157#issuecomment-1105132362 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 21 April 2022 12:15:16 UTC