Apache OpenOffice (AOO) Bugzilla – Issue 123510
[SVG] style from style element via class overwrites style attribute, but should not
Last modified: 2017-05-20 10:35:14 UTC
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.
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