On Sun, 2004-06-20 at 00:24, bulia byak wrote:
Remember that Inkscape isn't only a visual editor, it's a structural editor too.
I don't see the connection with inheritance. If we introduce a non-standard property, it needs to be at least limited and predictable. Making it inherited will give it a degree of unwelcome unpredictability while not providing any significant advantage.
Aren't there some fonts which can only be specified via this means? (i.e. the standard CSS properties aren't fine-grained enough?) People are going to want to use it for that purpose if that is the case.
IOW, -inkscape-face should take precedence if it matches the normal CSS-specified font closely enough; otherwise it is ignored.
Yes, that it what I have in mind, and ignoring -inkscape-face on mismatch is OK too if accompanied by a warning (this is going to be an exceptional situation anyway, never affecting most users). But I don't see why we must make it inherited.
Can you give me some specific examples of situations where inheritance would cause problems?
On the other hand, if it's not being inherited, I think it should be an XML attribute rather than a CSS property. CSS doesn't have "real" namespaces, so introducing non-standard CSS properties is slightly more evil, IMO.
-mental