Quote:
Originally Posted by kovidgoyal
However, I think the problem with EPUB is simply that of growing pains. Supporting CSS 2.1 means that EPUB renderers must load entire XHTML flows.
|
No, that's just not true, kovid. You need just a basic knowledge about the parent tree of the element you are trying to render. That's a huge difference to "entire XHTML flows". Stream the xhtml, store the information about the parent tree that's really required into memory and "forget" the rest.