mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 21:46:57 +03:00
[project @ 2003-04-06 18:16:14 by bursa]
Describe css code. svn path=/import/netsurf/; revision=117
This commit is contained in:
parent
46edb645e1
commit
9864876b0a
19
developer
19
developer
@ -10,8 +10,9 @@ Source Code Overview
|
||||
The source is split at top level as follows:
|
||||
|
||||
content -- fetching, caching, and converting content
|
||||
css -- CSS parser and interfaces
|
||||
desktop -- non-platform specific front-end
|
||||
render -- HTML and CSS processing and layout
|
||||
render -- HTML processing and layout
|
||||
riscos -- RISC OS specific code
|
||||
utils -- misc. useful functions
|
||||
|
||||
@ -38,7 +39,20 @@ fetches, converts, and caches it if not present.
|
||||
|
||||
________________________________________________________________________________
|
||||
|
||||
render -- HTML and CSS processing and layout
|
||||
css -- CSS parser and interfaces
|
||||
|
||||
CSS is tokenised by a flex-generated scanner (scanner.l), and then parsed into a
|
||||
memory representation by a lemon-generated parser (parser.y, ruleset.c).
|
||||
|
||||
Styles are retrieved using css_get_style(). They can be cascaded by
|
||||
css_cascade().
|
||||
|
||||
http://lex.sourceforge.net/
|
||||
http://www.hwaci.com/sw/lemon/
|
||||
|
||||
________________________________________________________________________________
|
||||
|
||||
render -- HTML processing and layout
|
||||
|
||||
This is the process to render an HTML document:
|
||||
|
||||
@ -66,7 +80,6 @@ parent node.
|
||||
The box tree can then be rendered using each node's coordinates.
|
||||
|
||||
box.[ch] -- definition of the box tree, conversion from xml tree, normalising
|
||||
css* -- CSS parser and handler
|
||||
html.[ch] -- interface to HTML processing
|
||||
layout.[ch] -- layout engine
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user