W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

Re: [csswg-drafts] [css-text] Should 'hyphens: auto' work if lang="" is not declared? (#869)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Tue, 23 Apr 2019 12:47:14 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-485787848-1556023633-sysbot+gh@w3.org>
> There is also sites with multi-language content though

That's fine, the lang attribute can be applied to any element, and different elements in the page can have different values.

> Even sometimes in one sentence. Even worse, this content may be user-generated.

That's tough. Doing correct hyphenation on un unknown mix of languages is going to be hard. Falling back to the language of the operating system wouldn't help (as was the case for the implementations that did hyphenation even without a declared language)

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/869#issuecomment-485787848 using your GitHub account
Received on Tuesday, 23 April 2019 12:47:16 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:46 UTC