Firefox ... SVG ...下划线...为了基督的缘故吗? [英] Firefox ... SVG ... Underline ... how for christ's sake?
问题描述
有人知道任何有效的解决方法或甚至是为什么他们没有修复还没完成!? ...我对此非常好奇
在我的 Firefox中,一个<$ c $ < html :> blub< / html:u>
...已将html声明为svg中的命名空间,示例代码如下所示:
< div style =border:solid black 2px;>
< svg:svg xmlns =http://www.w3.org/2000/svg
xmlns:html =http://www.w3.org/1999/xhtml
width =300height =50>
< foreignObject width =80height =50>
< html:u> blub< / html:u>
< / foreignObject>
< / svg:svg>
< / div>
这是您的解决方案吗?
Anything I tried failed so far to get Firefox to underline some text.
According to Google-results this issue is known and documented for more than five years ... that just can't be true ... what is going on?
Someone knows any consitently working workaround or maybe even a reason as to why they didn't fix it yet!? ... I am very curious about that
In my Firefox, a ForeignObject
text within an SVG gets perfectly underlined if I include it in the right tags:
<html:u>blub</html:u>
... having declared html as a namespace in the svg, sample code looks like this:
<div style="border:solid black 2px;">
<svg:svg xmlns="http://www.w3.org/2000/svg"
xmlns:html="http://www.w3.org/1999/xhtml"
width="300" height="50" >
<foreignObject width="80" height="50">
<html:u>blub</html:u>
</foreignObject>
</svg:svg>
</div>
Would that be a solution for you?
这篇关于Firefox ... SVG ...下划线...为了基督的缘故吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!