Safari ForeignObject Input Range Bug

by Roman Bruckner

HTML

<svg overflow="visible">


    <foreignObject x="100" y="100" width="200" height="200">
      <div xmlns="http://www.w3.org/1999/xhtml" style="position:static">
        <input type="range"  />
        ok
      </div>
    </foreignObject>

    <foreignObject transform="translate(100, 200)" width="200" height="200">
      <div xmlns="http://www.w3.org/1999/xhtml" style="position:static">
        <input type="range"  />
        not ok
      </div>
    </foreignObject>

</svg>