Re: [whatwg] Hyphenation

<5b04ec2d0701090503x28f66251k489afc068064a832@mail.gmail.com>

Current votes: None.

On 1/8/07, =D8istein E.  Andersen <html5@xn--istein-9xa.com> wrote:
> Currently, hyphenation and justification are scarce on the Web

Is there any browser support for automatic hyphenation?

> and the average
> blogger hardly misses these features.

Hyphenation is a presentational problem. When you copy hyphenated
text, you want the non-hyphenated version in the clipboard. We should
avoid embedding presentational hyphenation tags in the actual text.

I would suggest that the first priority is getting a naive hyphenator
into browsers. Since you only ever need hyphenation when
full-justifying, I would suggest:

align: hyphenated;

Once that is in place, we can start thinking about special cases. I
would suggest a hyphenation dictionary in the <head> of the document.

<html>
<head>
  <title>Monkey grooming</title>

  <hyph word=3D"zo=EBven" points=3D"zo-even, zo=EB-ven">
  <hyph word=3D"abstain" points=3D"ab-stain">
  <hyph word=3D"quality" points=3D"qua-li-ty">
  <hyph word=3D"hypertext" points=3D"hy-per-text">
  <hyph word=3D"indefatigably" points=3D"in-de-fa-ti-ga-bly">
</head>
<body>
<p style=3D"align:hyphenate; width:5em;">
The zo=EBven hypertext must abstain from grooming monkeys in an
indefatigably questionable fashion. The zo=EBven hypertext must abstain
from grooming monkeys in an indefatigably questionable fashion. The
zo=EBven hypertext must abstain from grooming monkeys in an
indefatigably questionable fashion.
</p>
</body>
</html>

Thus, when people dislike the naive hyphenation of a word, they can
specify one of their liking in the header.

--=20
Leons Petrazickis