document/dom: Move styles initialization out of init_dom_renderer()
commitafb9b6daa53757ec4584d30aa8ceb222bb1c3b54
authorPetr Baudis <pasky@ucw.cz>
Tue, 28 Aug 2007 17:38:13 +0000 (28 19:38 +0200)
committerPetr Baudis <pasky@machine.or.cz>
Tue, 28 Aug 2007 17:38:13 +0000 (28 19:38 +0200)
tree79b56fba39982c0d958fca205204fd522a934c24
parent494e4a10198e2ec86ffdd9ab76b690294847b572
document/dom: Move styles initialization out of init_dom_renderer()

Now, CSS is initialized separately for each of the renderers, so that
also RSS doesn't just choose styles of random DOM node types.

init_template_by_style() is introduced as the common backend for
loading CSS properties.
src/document/dom/renderer.c
src/document/dom/rss.c
src/document/dom/source.c
src/document/dom/util.c
src/document/dom/util.h