text-stroke-width.html (688B)
1 <!DOCTYPE html> 2 <title>CSS zoom applies to -webkit-text-stroke-width when specified and inherited</title> 3 <link rel="author" title="Stefan Zager" href="mailto:szager@chromium.org"> 4 <link rel="help" href="https://drafts.csswg.org/css-viewport/"> 5 <link rel="match" href="reference/text-stroke-width-ref.html"> 6 7 <style> 8 div { 9 font-size: 3rem; 10 color: cornflowerblue; 11 -webkit-text-stroke-color: hotpink; 12 } 13 .text-stroke-width { 14 -webkit-text-stroke-width: 2px; 15 } 16 .zoom { 17 zoom: 2; 18 } 19 </style> 20 21 <div class="text-stroke-width" >unzoomed</div> 22 <div class="zoom"><div class="text-stroke-width">zoomed</div></div> 23 <div class="text-stroke-width"><div class="zoom">zoomed inherited</div></div>