This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ideas:hyphenation [2016/10/26 01:16] – florian | ideas:hyphenation [2018/11/04 06:43] – Added more useful info nhthvhvbh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ceci n'est pas un trait d' | ||
- | ===== Detecting whether hyphenation and/or justification is applicable ===== | ||
- | There' | ||
- | |||
- | By the end of the thread, the proposal is something like this: | ||
- | |||
- | p { | ||
- | text-align: left; | ||
- | } | ||
- | p: | ||
- | hypens: auto; | ||
- | text-align: justify; | ||
- | } | ||
- | p: | ||
- | text-align: justify; | ||
- | } | ||
- | |||
- | The second one would match on elements where the declared language is one the browser can hyphenate, and the third one would match on elements where the declared language is not one the browser can hyphenate but is one where the browser knows how to justify nicely. For example arabic if the browser supports kashida, or Japanese where nothing in particular is needed. | ||
- | |||
- | This assumes we define '': |