<?xml version="1.0" encoding="utf-8"?> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Selecting text in SVG text element inside draggable container</title> | |
</head> | |
<body> | |
<div draggable="true"> | |
<svg xmlns="http://www.w3.org/2000/svg" version="1.2" width="200px" height="50px" viewBox="0 0 200 50"> | |
<text x="10" y="45" font-size="30" fill="navy" editable="simple">Select me</text> | |
</svg> | |
</div> | |
<p>You should be able to select text above</p> | |
</body> | |
</html> |