Issue 125330 - [SVG] The attribute value "inherit" is not honored
Summary: [SVG] The attribute value "inherit" is not honored
Alias: None
Product: Draw
Classification: Application
Component: formatting (show other issues)
Version: 4.2.0-dev
Hardware: PC Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2014-07-30 21:03 UTC by Regina Henschel
Modified: 2017-05-20 10:44 UTC (History)
1 user (show)

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

value "inherit" in a stylesheet rule (625 bytes, image/svg+xml)
2014-07-30 21:03 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-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 "".