custom-highlight-container-metrics-003-ref.html (432B)
1 <!DOCTYPE html> 2 <meta charset="UTF-8"> 3 <title>CSS Highlight API Test Reference</title> 4 <head> 5 <style> 6 .wrapper { 7 width: 200px; 8 height: 100px; 9 text-underline-offset: 4px; 10 text-decoration-line: underline; 11 text-decoration-color: green; 12 text-decoration-thickness: 4px; 13 } 14 </style> 15 </head> 16 <body> 17 <div class="wrapper">With container size</div> 18 <div>Should be no highlight</div> 19 </body>