Issue 125321 - [SVG] The property "visibility" is not supported
Summary: [SVG] The property "visibility" is not supported
Status: UNCONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 4.2.0-dev
Hardware: PC Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL: http://www.w3.org/TR/SVG/painting.htm...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-29 18:30 UTC by Regina Henschel
Modified: 2017-05-20 10:45 UTC (History)
1 user (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
property visibility with value "hidden" (1.04 KB, image/svg+xml)
2014-07-29 18:30 UTC, Regina Henschel
no flags Details
Visibility on tspan element (614 bytes, image/svg+xml)
2014-11-01 11:35 UTC, Regina Henschel
no flags Details
Inner element with visibility="visible" should be shown (879 bytes, image/svg+xml)
2014-11-01 11:41 UTC, Regina Henschel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2014-07-29 18:30:56 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.
Comment 1 Armin Le Grand 2014-07-30 10:54:23 UTC
Grepping for reference. Should be pretty straight forward to do.
Comment 2 Regina Henschel 2014-11-01 11:35:35 UTC
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.
Comment 3 Regina Henschel 2014-11-01 11:41:16 UTC
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.
Comment 4 Regina Henschel 2014-11-02 20:13:40 UTC
Add URL for to remember the link.
Comment 5 Marcus 2017-05-20 10:45:17 UTC
Reset the assignee to the default "issues@openoffice.apache.org".