Hi all,

there have been some discussions in German in private emails before the implementations. That was a wrong behavior and should not happen again, please excuse this.

I'll translate and summarize here some of those discussions:

CSS knows a large variety of selectors in a rule, read http://www.w3.org/TR/CSS21/selector.html. We discussed to which extend they should be supported. Because currently Inkscape supports CSS only rudimentary, and there are no special requests in Bugzilla, and other areas of CSS (e.g. filter and animation) are more important, the decision has been, to support only those selectors, which can be implemented straightforward within the existing design. Find details about current implementation in the comments in main/svgio/source/svgreader/svgstylenode.cxx.

There exists currently no code to load external data which are referenced in a svg-image. Therefore support for "@import" rule has been postponed.

In contrast to browsers, the environment, in which svg-images are used in Apache OpenOffice, has no user-defined style sheets. In addition '@import' rule is not supported. So the author's rule is always taken and authors can directly determine the order of styles. Therefore the '!important' part of a description is ignored for now.

A CSS-style is stored in a SvgStyleAttributes-instance. Each svg-node gets a linked list of pointers to styles, ordered according the priority specified by "cascading". The list is build once using method fillCssStyleVector. (I hope, I've got it right.)

Kind regards
Regina

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to