https://issues.apache.org/ooo/show_bug.cgi?id=125258

Armin Le Grand <armin.le.gr...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ACCEPTED
     Ever confirmed|0                           |1

--- Comment #3 from Armin Le Grand <armin.le.gr...@me.com> ---
SvgSvgNode::getSvgStyleAttributes() is one part of the solution; it will make
the svg main element find it's CssStyle (if any). It is not sufficient since
from the found element carrying the CssStyle (a style element) the parent would
be the svg node again, leading to a loop of parent stales. So there has to be a
mechanism added which breaks this potential loop.
There are more problems when using this.
The initialization of the style from the outmost svg element needs to be
handled, default is black filled. When this element uses a CssStyle this (and
potentially others) are not allowed to be set since as a hard attribute would
hide the CssStyle setting from this (e.g. RectWithParentStyles.svg).
Also SvgGNode represents defs and g elements, thus some methods have to handle
things different if it's not a group (getSvgStyleAttributes, decomposeSvgNode).
Added this changes, all docs from bugdoc of Issue 125254 load as expected, the
crash is fixed, too.
Douing some more tests...

-- 
You are receiving this mail because:
You are watching all issue changes.

Reply via email to