The block element after inline + <br> element visible unexpectedly. Even overlap with previous content. Reproduced both in MacOS, iPad, iPhone with version 15.6 and 16. Example: https://codepen.io/Woody-lxf/pen/bGMRXwv HTML <div class="box"> test text content 111<br>test text content 222<br>test text content 333<br><p>test text content 444</p> </div> CSS .box { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; }
*** Safari 16 & Safari Technology Preview 154 *** test text content 111 test text content 222... (but ... is not selectable) test text content 333 test text content 444 *** Chrome Canary 108 *** test text content 111 test text content 222... (but ... is not selectable) *** Firefox Nightly 107 *** test text content 111 test text content 222... (but ... is not selectable) _______ From CodePen in Comment 0. Thanks!
<rdar://problem/100491976>
*** This bug has been marked as a duplicate of bug 244286 ***