Issue 125330

Summary: [SVG] The attribute value "inherit" is not honored
Product: Draw Reporter: Regina Henschel <rb.henschel>
Component: formattingAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: Armin.Le.Grand
Version: 4.2.0-dev   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
value "inherit" in a stylesheet rule none

Description Regina Henschel 2014-07-30 21:03:03 UTC
Created attachment 83753 [details]
value "inherit" in a stylesheet rule

Insert attached document into a Draw document and open it in a browser. You should see two green and a blue circle.

The value "inherit" forces an object to use the property value from its parents.

Because the rule from stylesheet has a larger specificity than the non-css property, it is used. Therefore the circle is green instead of red.

The right circle is blue, because the style-attribute has a greater specificity than the rules from the style-element and therefore the rule of the style-element is not used.
Comment 1 Armin Le Grand 2014-07-31 11:14:19 UTC
Grepping to keep in focus
Comment 2 Armin Le Grand 2014-10-09 11:35:18 UTC
The value 'inherit' is possible for each Css attribute, thus every property held now in SvgStyleAttributes would have to support something like 'doInherit()' similar to isSet(). This would be a pretty big change and thus not easy to implement.
Comment 3 Marcus 2017-05-20 10:44:59 UTC
Reset the assignee to the default "issues@openoffice.apache.org".