On 7/29/07, David Chisnall <[EMAIL PROTECTED]> wrote:
> 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.

  Yes, the simple CSS work. Just treat it as tag with attributes.
  I have very limited html rendering in NewsStand,
  I am just not sure how far I want to go.
  If there is more use in other components,
  I think it is worth to spend effort on it.

  Yen-Ju

>
> _______________________________________________
> Etoile-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-discuss
>

_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à