Hi Regina,

On 16.08.2014 21:01, Regina Henschel wrote:
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.)

Yes, thanks for adding this here. Maybe I am sometimes too concentrated on discussing issues directly in the issuezilla task. OTOH it belongs there and the task defines the problem to discuss about precisely. OTOH the bugzilla mailing list is just too big to always follow completely, so maybe sending hints to issues where a discussion is ongoing to the dev list is a good approach...

Sincerely,
    Armin


Kind regards
Regina

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

--
ALG

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to