Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [SVG] style from style element via class overwrites style attribute, but should not | ||||||
---|---|---|---|---|---|---|---|
Product: | Draw | Reporter: | Regina Henschel <rb.henschel> | ||||
Component: | open-import | Assignee: | Armin Le Grand <Armin.Le.Grand> | ||||
Status: | CLOSED FIXED | QA Contact: | |||||
Severity: | Normal | ||||||
Priority: | P3 | CC: | aoo.zhaoshzh, Armin.Le.Grand, issues | ||||
Version: | 4.1.0-dev | ||||||
Target Milestone: | 4.1.0 | ||||||
Hardware: | PC | ||||||
OS: | Windows 7 | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
ALG: Changed the priority chain for styles which is created in SvgNode::checkForCssStyle to reflect that, did the usual tests with the attachment and my local SVG test files, looks good. Preparing commit... "alg" committed SVN revision 1537044 into trunk: i123510 changed priority in style preparation ALG: Okay, done. verified on AOO410m15(Build:9761) - Rev. 1585021 verified on AOO410m14(Build:9760) - Rev. 1585624 |
Created attachment 81791 [details] example with class, only style attribute, and both The style attribute has a higher specificity than the class selector. Therefore, when both are present, the rules of the style attribute has to be used. In the attached svg graphic the first and last rectangle should have the same appearance.