webkit-box-clamp-visibility-change-ref.html (586B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://crbug.com/1015987"> 3 <style> 4 #wb { 5 display: -webkit-box; 6 -webkit-box-orient: vertical; 7 -webkit-line-clamp: 3; 8 overflow: hidden; 9 } 10 </style> 11 <p>Line-clamp should be respected after removing and changing visibility. 12 <div id="root" style="border: solid; width: 200px;"> 13 <div id="container"> 14 <p id="wb"> 15 text text text text 16 text text text text 17 text text text text 18 text text text text 19 text text text text 20 text text text text 21 text text text text 22 </p> 23 </div> 24 </div>