IE9 error period IE9

I just discovered this little pearl of IE9 error. IE9 doesn't seem to recognize the space before the period as a breakpoint. Like a list of domains or file extensions. Open the following script in IE9.

http://jsfiddle.net/cssguru/nNnzM/1/

I tried to use escape characters but that didn't help. Any suggestions on a workaround?

+5
source share
2 answers

This is an annoying feature, but it is probably intentional and is not considered a vendor error. Instead, it is seen as the implementation of Unicode line break rules (which are partially rather weird). According to these rules, a period (or FULL STOP, as they call it) has an IS line break class, a numerical delimiter infix, and "When not used in a numerical context, infix delimiters are punctuation ending in a sentence, so they always prevent interruptions before."

To deal with such problems, it is probably best to insert a U + 200B ZERO WIDTH SPACE between normal space and period, for example.

.web ​.shop ​.blog ​.nyc ...

U + 200B is a control character that allows line breaks in the place where they were not otherwise permitted.

IE (IE 6) U + 200B. , <wbr>, , , , IE 8 (, , , ).

+6

I , , , .

0

All Articles