Apache OpenOffice (AOO) Bugzilla – Issue 125321
[SVG] The property "visibility" is not supported
Last modified: 2017-05-20 10:45:17 UTC
Created attachment 83747 [details] property visibility with value "hidden" The feature "visibility" is currently not supported, neither as svg-property nor as css style. This makes the test file styling-css-07-f.svg from the test suite [1] fail, and the tests styling-css-08-f.svg, styling-css-09-f.svg, styling-pre-02-f.svg not runnable. [1] http://www.w3.org/Graphics/SVG/Test/20110816/archives/W3C_SVG_11_TestSuite.tar.gz The attached file uses the svg-property, the style-attribute and the style-element on red circles. Insert the file into a Draw document. You should not see any red circle. Compare it with showing the file in a browser. The test file covers only the value "hidden". The other possible values "visible" "collapse" and "inherit" will need further test files. visibility="hidden" is not the same as 'not drawing'. For example using it on a tspan element, the needed space is still reserved.
Grepping for reference. Should be pretty straight forward to do.
Created attachment 84141 [details] Visibility on tspan element Testfile. If an element has visibility="hidden" set, its box has still to be considered. In the test file the two text lines should show the word 'End' at the same horizontal position.
Created attachment 84142 [details] Inner element with visibility="visible" should be shown Testfile. The svg source has three circles. The upper red circle inherits the visibility from the group element and must not be visible. The middle green circle has an own style attribute with visibility:visible and has to be drawn. The bottom green circle gets the property visibility:visible from a style element and has to be drawn too.
Add URL for to remember the link.
Reset the assignee to the default "issues@openoffice.apache.org".