Apache OpenOffice (AOO) Bugzilla – Issue 125326
[SVG] Missing type attribute of style element does not get default value
Last modified: 2022-10-28 12:54:36 UTC
Created attachment 83750 [details] test styling-elem-01-b from W3C test suite The current implementation fails on test case "styling-elem-01-b.svg" of the W3C test suite http://www.w3.org/Graphics/SVG/Test/20110816/archives/W3C_SVG_11_TestSuite.tar.gz. For your convenience I attach the file here. It is allowed, that the "type" attribute of the style element is missing. In that cases it defaults to type="text/css", see spec http://www.w3.org/TR/SVG/styling.html#StyleElement. The current implementation skips the whole style element.
Grepping for reference, should be straightforward.
Taking a deeper look...
"alg" committed SVN revision 1630814 into trunk: i125326 accept CssStyles with missing type attribute
OKay, done.
Could use a retest and report here.
It is OK in AOO420m1(Build:9800)- Rev. 1689959 on Windows 7.
"pescetti" committed SVN revision 1705478 into branches/AOO410: #i125326# accept CssStyles with missing type attribute
Committed to AOO410 for OpenOffice 4.1.2.
@regina: since you already verified this on trunk, do you have time to verify it with 4.1.2-RC2 too? Thanks! RC2 is available at https://dist.apache.org/repos/dist/dev/openoffice/4.1.2-rc2-r1707648/binaries/
The test fails in RC2. I have used AOO412m2(Build:9781) - Rev. 1707648 2015-09-28 12:45:04 (Mo, 28 Sep 2015) To make it work, likely other parts of the SVG-improvements on master are necessary in addition, but I do not know which of them. Because of the short time for 4.1.2 I would not try to fix this for 4.1.2. I think the commit does not harm and therefore there is no need for reversing the commit.
OK, thanks Regina. So we will keep AOO410 as it is in 4.1.2-RC2: it will include this commit, even though the bug is not fully fixed by it.