On Wed, Oct 22, 2008 at 10:33:44PM +0000, corvid wrote:
Johannes wrote:
This approach has some issues. In contrast to http://www.dillo.org/CSS.html it would only be possible to apply style information that is available when starting parsing of a document. However we could start rendering with what style information is available and reload once all css files have been loaded.
So is the idea that your method is more lightweight and a repush() once the CSS arrives looks the same as applying the CSS on the fly?
That's the idea.
If this is deemed superior, there might be things we could rip out of dw that were written with the other scheme in mind.
No, I don't think this is superior. However, we need to be able to apply available styles while parsing anyway. So I would start coding that. And maybe this together with the repush thing gives acceptable behaviour already. Cheers, Johannes