https://bugs.kde.org/show_bug.cgi?id=433220

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdebugs.emptier177@passmail
                   |                            |.net

--- Comment #2 from [email protected] ---
Similarly text has a style tag with the CSS "font-size" property without a
unit.
The SVG specification allows "font-size" attributes without an explicit unit
i.e. using user-units.
But the value of a "style" attribute is CSS, so here a unit must be provided
for the CSS "font-size" property.
Because the unit is missing, Firefox and Chrome recover from the issue
differently by assuming different units leading to differing visual results.

I highly suggest the developers check output for an example project against:
 - for SVG: https://validator.w3.org/check
 - for CSS: https://jigsaw.w3.org/css-validator/validator
 - for file size improvements: https://jakearchibald.github.io/svgomg/

Example snippet:
```
<text id="shape0" krita:textVersion="3" transform="translate(74.4292078071182,
86.0285648679678)" paint-order="stroke fill markers" fill="#000000"
stroke-opacity="0" stroke="#000000" stroke-width="0" stroke-linecap="square"
stroke-linejoin="bevel" style="font-size: 12;white-space:
pre-wrap;">Placeholder Text</text>
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to