Text in SVG patterns does not render when "Enhance text contrast" flag is on

Regular Visitor

Dev 93.0.910.5

Windows Server 2019

Test file:

 

<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" version="1.1">
  <defs>
    <pattern id="pat" width="200" height="160" patternUnits="userSpaceOnUse">
      <text y="21px" transform="translate(0, 130) rotate(-20)" opacity="0.6">Microsoft Edge</text>
    </pattern>
  </defs>
  <rect width="100%" height="100%" fill="url(#pat)"></rect>
</svg>

"Enhance text contrast" off:

无标题1.png

"Enhance text contrast" on:

 

无标题.png

 

0 Replies