Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
The -ms-hyphenate-limit-lines
CSS property is a Microsoft extension specifying the maximum number of consecutive lines in an element that may be ended with a hyphenated word.
Initial value | no-limit |
---|---|
Applies to | block container elements |
Inherited | yes |
Media | visual |
Computed value | as specified |
Animation type | discrete |
Canonical order | the unique non-ambiguous order defined by the formal grammar |
no-limit
Indicates that hyphenation is not limited based on the number of consecutive hyphenated lines. In the flow above the consecutive hyphenated lines limit would be an infinitely large positive number.
<integer>
Indicates the maximum number of successive hyphenated lines.
For instance, if 2, then no more than 2 successive lines may end with a hyphenated word. If 0 then no lines may end with a hyphenated word. (Hyphenation is effectively disabled.)
Negative values are not allowed.
no-limit | <integer>
Not part of any specification.
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-hyphenate-limit-lines