- From: Kristian Sons <kristian.sons@dfki.de>
- Date: Tue, 23 Jun 2015 13:38:31 +0200
- To: public-d3d mlist <public-declarative3d@w3.org>
Hello, in the course of the CSS integration model proposed for Web3D2015 [1], we hit upon the known issue of the missing API for monitoring style changes. Hence, we updated our proposal for a extending the existing Mutation Observer API to include style changes: http://xml3d.org/xml3d/specification/styleobserver/ One of the main changes is a cssCustomPropertiesOnly flag. Since one does not know which custom CSS properties may occur and watching all properties (>200 standard properties) is inefficient, the cssCustomPropertiesOnly flag allows filtering to only report changes in custom properties. We will contribute this proposal to the group using the public-declarative3d-contrib mailing list soon. Additionally we identified that there is no API to set pseudo classes from JavaScript. This is another very useful feature in order to e.g. change the color of an object on mouse over (highlighting). There is an internal API in Firefox to allow setting the class of an element from an add-on. In fact, this would mean to expose these (addPseudoClassLock, removePseudoClassLock and hasPseudoClassLock methods from Mozillas inIDOMUtils) to the standard JavaScript APIs: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/inIDOMUtils#addPseudoClassLock() We are happy for any comments and input! Kristian [1] http://xml3d.org/xml3d/papers/css-integration/ -- _______________________________________________________________________________ Kristian Sons Deutsches Forschungszentrum für Künstliche Intelligenz GmbH, DFKI Agenten und Simulierte Realität Campus, Geb. D 3 2, Raum 0.77 66123 Saarbrücken, Germany Phone: +49 681 85775-3833 Phone: +49 681 302-3833 Fax: +49 681 85775–2235 kristian.sons@dfki.de http://www.xml3d.org Geschäftsführung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes Amtsgericht Kaiserslautern, HRB 2313 _______________________________________________________________________________
Received on Tuesday, 23 June 2015 11:39:00 UTC