Is it possible to determine the language used for -webkit-hyphens:auto ? Is the default system language used?
<p style="-webkit-hyphens:auto" lang="en"> Hyphenated in English </p> <p style="-webkit-hyphens:auto" lang="es"> Hyphenated en Español </p>
According to the Mozilla documentation, the hyphens property will use the language specified in the HTML lang attribute. However, I cannot find a mention of the -webkit-hyphens in the Safari documentation .
Also, does the meta language attribute have any effect? Or can this be applied to the html element?
Here's the fiddle I use for testing (in Safari and Firefox).
html css safari webkit
hpique
source share