Issue 122575 - [SVG] attribute 'overflow' on svg element is not handled
Summary: [SVG] attribute 'overflow' on svg element is not handled
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 3.4.0
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-23 22:48 UTC by Regina Henschel
Modified: 2017-05-20 10:45 UTC (History)
3 users (show)

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


Attachments
Example with attribute overflow on inner svg element. (786 bytes, image/svg+xml)
2013-06-23 22:48 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 2013-06-23 22:48:09 UTC
Created attachment 80902 [details]
Example with attribute overflow on inner svg element.

The attribute overflow="visible" is not evaluated for an inner svg element.
In the attached file the black line extends (correctly) the viewBox, but from the inner svg element the green line and the red/black square are clipped. Open the file in a browser to see the correct rendering. You cannot use Inkscape for comparing, because Inkscape does not clip at all.

The spec is in http://www.w3.org/TR/SVG/masking.html#OverflowProperty
Comment 1 Rainer Bielefeld 2013-06-24 05:58:22 UTC
I can confirm that AOO dev shows "svg overflow.svg" very different from FF and IE (What are also different to IrfanView with CADImage.dll, what also shows left and top parts of drawing (left vertical green and black lines and top black and green lines (what exceed view box?)). For example part of black area square with red borders above top horizontal blue line is missing.

Steps how to reproduce Reproducible with  "AOO 4.0.0-Dev – English UI / German locale [AOO400m2(Build:9701)  -  Rev. 1495357
Rev.1495357  2013-06-23]" on WIN7 Home Premium (64bit)", Common 4.0-dev User Profile:

1. From AOO Start Center open attached sample document via menu 'File -> Open'
2. Open Copy of Sampel document with Browser
3. Compare

Additional info:
a) Not a new problem, already visible with AOO 3.4.0
b) Same when you use menu 'Insert -> Picture -> From File' for DRAW or Writer
   Document
c) Competitors:
   LibO 4.0.3: Insert Picture from File same as AOO, Open in Draw unusable
   Calligra Karbon: Result not perfect, but this particular problem seems not to
   exist
   SoftMaker FreeOffice: Seems not to support .svg
Comment 2 Armin Le Grand 2013-07-02 16:37:14 UTC
ALG: Grepping, handling of 'overflow' simply missing (see http://www.w3.org/TR/SVG/masking.html#OverflowProperty).
Comment 3 Marcus 2017-05-20 10:45:23 UTC
Reset the assignee to the default "issues@openoffice.apache.org".