I work for Opera Software in the Dev Relations team. I use Espresso quite a bit, and one issue I’ve had with the CSS sugar is the lack of some of the latest CSS properties.
I’m new to Sugars but I’m looking into extending the default CSS Sugar. I’ve currently added all the CSS3 that Opera supports, plus the -o- properties (Espresso currently only supports some -webkit- and -moz- properties). I’ve also added the CSS properties from SVG, and the -xv- (CSS Voice) and -wap-. I’ve just done this in the MacRabbit namespace by extending the current Sugar as advised on the Wiki.
Would MacRabbit be interested in perhaps including the extended sugar in a future build of Espresso? If so I can probably extend it to include and Mozilla or WebKit features that are missing, along with their vendor prefixed features. There are some specific Opera features I’ve added that we use to be able to support MathML via CSS (such as -o-table-baseline) that I should probably remove if so.
If it is just something that we can distribute to developers that use Espresso that care about the properties that Opera supports, would you suggest changing the namespace of the new (or also existing) properties to a Opera namespace, and perhaps changing the name, so that any future Espresso update doesn’t override it?
Eventually after I learn more about how Sugars work, I’d like to add a Sugar for the Widgets packaging spec (config.xml), HTML5, and SVG. As XML is part of the HTML sugar, would you recommend extending the HMTL+XML sugar, or writing a separate SVG sugar? SVG isn’t too different to XHTML, in that you can have a style element with CSS rules in or CSS rules in a style attribute.
