align: justify text goes outside the border in RTL languages
I have HTML markup with a text paragraph in the body
element. In the CSS stylesheet, I added:
body {
text-align: justify;
color: black;
background-color: white;
font-size: 23;
letter-spacing:0.05pt;
line-height: 125%;
font-size: 1.25em;
margin: 0.00em 20em;
text-indent: 0em;
font-weight: normal;
font-style: normal;
direction: rtl;
}
When I load it in Safari 10.1, the text goes outside of the body border. But the same markup in an older version of Safari (10.0) works fine and in Chrome 56.0.2924.87 (x86_64).
How do I fix the markup and style in order for this to work in the new Safari?
it's officially a safari 10.1 bug. you can rate this post on apple communities maybe they fix it sooner . safari 10.1 text-align: justify Bug
链接地址: http://www.djcxy.com/p/95816.html