Open yisibl opened 1 year ago
I am also not familiar with this property and need further investigation by the implementer.
- Can you explain how to convert standard property to Safari’s one?
I believe that the second and third arguments for hyphenate-limit-chars
map to -webkit-hyphenate-limit-before
and -webkit-hyphenate-limit-after
, respectively.
The first value is the minimum word length before words should be hyphenated. The second value is the minimum number of characters before the hyphen. The minimum number of characters after the hyphen will be set equal to the second value.
Spec: https://w3c.github.io/csswg-drafts/css-text-4/#propdef-hyphenate-limit-chars
IE:
https://msdn.microsoft.com/en-us/library/hh771865(v=vs.85).aspx
Safari
Safari support the
-webkit-hyphenate-limit-before
,-webkit-hyphenate-limit-after
and-webkit-hyphenate-limit-lines
propertiesChrome
WIP https://bugs.chromium.org/p/chromium/issues/detail?id=924069 https://groups.google.com/a/chromium.org/g/blink-dev/c/CwUy1UoqyVQ