I have a document with some dynamically created svg that I define like this:
This works in Chrome and FF, but not in Prince. I'm guessing that Prince does not support svg embedded in the html document. What form does Prince accept it? If I put getSvg.php?type=1 in the url (and obviously make a getSvg.php function which returns the same thing I embedded in the DOM), will it work. If not, how else am I supposed to get clip-path working?
<div style="width: 254.98px; height: 298.894px; clip-path: url("#Mask-1"); -webkit-clip-path: url("#Mask-1");">
<img src="src">
</div>
<svg id="globalMaskDefinitions" height="0" width="0">
<defs>
<clipPath clipPathUnits="objectBoundingBox" id="Mask-1">
<rect rx=".2px" ry=".15px" height="1" width="1" y="0" x="0"/>
</clipPath>
</defs>
</svg>
This works in Chrome and FF, but not in Prince. I'm guessing that Prince does not support svg embedded in the html document. What form does Prince accept it? If I put getSvg.php?type=1 in the url (and obviously make a getSvg.php function which returns the same thing I embedded in the DOM), will it work. If not, how else am I supposed to get clip-path working?