Firefox ... SVG ... Emphasize ... how for Christ?

All I have tried so far has made Firefox emphasize some text.

According to Google, this problem has been known and documented for more than five years ... it just can't be true ... what is happening?

Does anyone know some working solution, or maybe even the reason why they have not been fixed ?? ... I am very curious that

+5
source share
2 answers

In my Firefox, text ForeignObjectin SVG is perfectly underlined if I include it in the right tags:

<html:u>blub</html:u>

... declaring html as a namespace in svg, the 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>

Will this decision be for you?

+2
source

SVG, , Firefox, . ( 317196 .) SVG, ( ) .

, ( <line>, , , ), <foreignObject> HTML .

+3

All Articles