Created attachment 118574 [details]
According to https://developer.mozilla.org/es/docs/Web/SVG/Attribute/transform,
items in transform's attribute list can be separated by commas and/or whitespaces, however Libreoffice ignored them when there're commas.
Steps to reproduce:
1. Open attached file with Libreoffice
Behavior: Square 1 and 2 aren't rotated as they contain commas.
Created attachment 118575 [details]
Comparison between Libreoffice 126.96.36.199 (left) and Chrome (right)
The specification does indeed allow whitespace or comma. The error does not happen, when the file is inserted into a draw page, it can only be seen when using file open.
Created attachment 118592 [details]
attached SVG opened in FF, and as inserted into Draw
Yes, but we get another manifestation when inserting the SVG into a Draw session. At least on Windows...
Build ID: 9a18d52abbdfbdc2ac9acebec2b92e7859eb73b7
Locale: en-US (en_US)
The three objects seem to be rotated, but the bounding box is cropped and can't seem to be adjusted.
that problem is happening because width and height attributes aren't define in <svg> tag. However, another bug should be filled for this issue as the svg filter used by Libreoffice is different for File -> Open and Insert -> Image
Fix summit to gerrit: https://gerrit.libreoffice.org/#/c/19573/
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":
tdf#94098: SVG: improved parsing of rotate's parameters
It will be available in 5.1.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Migrating Whiteboard tags to Keywords: (filter:svgOpen)