1
无下划线
请检查该plunker:SVG <text>元素中<a>元素在IE
https://plnkr.co/edit/jqPx9qpN3W1Jrix2axPw?p=preview
<div width="100px">
<svg width="100px" viewBox="0 0 100 100">
<a xlink:href="#" class="node">
<text transform="translate(50 50)">hh2</text>
</a>
</svg>
</div>
a:hover {
text-decoration: underline;
}
在Chrome,你会看到在悬停下划线,但在IE上没有下划线。我尝试用CSS解决没有成功。
“使用CSS解决” 是指什么? – Sirko