Safari CSS word-break: keep-all; is not working

17.6k views Asked by At

I see that in the Safari browser the CSS word-break property which I need is not being used. Why ?

enter image description here

3

There are 3 answers

7
Mr. Alien On BEST ANSWER

Update : Safari now supports keep-all as a value. As of Safari 9.


word-break property is partially supported in Safari, i.e it only supports word-break if you use break-all as a value and not keep-all...

As you can see here (Read the note at very bottom) which says

Note: Partial support refers to supporting the "break-all" value, but not the "keep-all" value.


Bug Report 43917 - CSS3 'word-break: keep-all' is not supported

0
kiding On

As of Safari 9 including iOS, word-break: keep-all is finally supported.

Bug Report 123782 - [CSS3] Add support for the word-break:keep-all CSS property

0
Shay Stibelman On

I have found this to work:

selector{ -webkit-hyphens: none;}