On 29 Jul 2007, at 18:28, Yen-Ju Chen wrote: > Yeah... I am considering to have a very simple one for NewsStand. > I don't think SimpleWebKit is going to support CSS any time soon. > It is very complicated.
If you want a full implementation of CSS, it's complicated. Stuff like counters and the whole box model are pretty hard. The basic font attributes are pretty easy to support. I've not tested it, but the implementation in TRXHTML-IMParser should work. It only parses style attributes in tags, but it would be fairly easy to extend it to something that would parse a CSS file and produce a dictionary of tag to attribute mappings, especially if you don't bother with any of the complicated selectors. _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
