IBM Support

JazzSM Text Widget - HTML SVG elements with viewBox and width are not rendering correctly on Internet Explorer

Question & Answer


Question

While trying to use DASH Text Widget to insert custom HTML code that includes SVG elements, the output is not displayed correctly on Internet Explorer although it is displayed correctly on other browsers.
Using, for example, the following HTML code will have an incorrect output on IE:
<svg height="100%" viewBox="0 0 90 10" width="100%">
<text fill="blue" font-size="5" y="5">Test 1!</text>
<text fill="yellow" font-size="5" x="45" y="5">Test 2!</text>
</svg>

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEKCU","label":"Jazz for Service Management"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"DASH 3.1.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
27 August 2019

UID

ibm11071958