When there was a person physically typesetting every line, the justification wasn't generally "mindless"
This led to the CSS `text-wrap` property, and `text-wrap: pretty`[2], but pretty is not supported in FF yet, and the value `pretty` doesn't mandate Knuth's algorithm.
[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=630181
[2]: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/P...