phetsims / scenery

Scenery is an HTML5 scene graph.
MIT License
52 stars 12 forks source link

Bug report for Firefox embedding mark regression #1644

Open jonathanolson opened 3 weeks ago

jonathanolson commented 3 weeks ago

For the issue discovered in https://github.com/phetsims/scenery/issues/1643.

jonathanolson commented 3 weeks ago

Reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1906978

jonathanolson commented 3 weeks ago

Minimal reproduction SVG:

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="1007" height="833">
  <g transform="translate(100,0)">
    <line x1="0" y1="0" x2="0" y2="90" stroke="black" stroke-width="0.5"/>
    <g transform="translate(0,30)">
      <text direction="ltr" font-family="Arial, sans-serif" font-size="18px" style="fill: red" text-anchor="start">‫القانون الثاني‬</text>
      <text direction="ltr" font-family="Arial, sans-serif" font-size="18px" style="fill: blue" text-anchor="end">‫القانون الثاني‬</text>
    </g>
    <g transform="translate(0,60)">
      <text direction="ltr" font-family="Arial, sans-serif" font-size="18px" style="fill: red" text-anchor="start">Test String</text>
      <text direction="ltr" font-family="Arial, sans-serif" font-size="18px" style="fill: blue" text-anchor="end">Test String</text>
    </g>
  </g>
</svg>