The text-overflow ellipsis working for single line ltr and rtl direction but ellipsis does not work with rtl direction.
If I remove/change the direction of rtl everything runs fine. what could be the bug?
index.html
<!DOCTYPE html>
<html>
<title>HTML Tutorial</title>
<style>
p{
font-size: 14px;
font-weight: bold;
text-align: right;
float: right;
text-align: right;
display: -webkit-box;
max-width: 165px;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
margin-right: 10px;
line-height: 15px;
direction: rtl;
}
</style>
<body>
<p>At W3Schools you will find complete references about tags, attributes, events, color names, entities, character-sets, URL encoding, language codes, HTTP messages, and more.</p>
</body>
</html>