summaryrefslogtreecommitdiff
path: root/TODO
blob: 621dd33e784280bdc2b982c92d975388e353a244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

*coding:)



Well, in the cr_statement_xxx_parse_functions, memleaks 
occur (the parsing result set in the sac callback is not freed)
when a parsing fails. This is because the unrecoverable error
does not get called when the standalone parsing functions exported
by CRParser are called independently.
I have now to support 2 modes of parsing. Normal and standalone.
In standalone mode, the standalone parsing functions must
call the "unrecoverable_error" sac callback when they fail.

implements the width:20% case. (on going)
	   implement the size wrapping using the rightmost_x field of CRLayEngPriv.

Provide support for font selection. (hard, started, is well underway.)
 First make sure to be able to gather all the font related property
  values.
 Then, figure out how to implement a font selector that uses
 pango. (on going)

Go forward in the cascading implementation in cr-sel-eng.c
     test/debug it.
     write test cases to test/debug/validate this kind of stylesheets:
       P {border: thick}
       P {display: block}
       /*
        *stylesheets where the same selector is used several times
        *to define different declarations.
        */
     write test cases to test/debug/validate the multi stylesheet support.


*Doc:)

Write examples of how to use the SAC api of libcroco and how to
walk the css stylesheet tree.

Finish the design of the instruction set of the selection engine.
	The draft design is in the file 
	docs/designs/docs/design/sel-instr.txt.

Write a litte doc about how to use the parser as it is today.