diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:50:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:50:49 +0000 |
commit | c853ffb5b2f75f5a889ed2e3ef89b818a736e87a (patch) | |
tree | 7d13a0883bb7936b84d6ecdd7bc332b41ed04bee /src/3rdparty/libcroco/TODO | |
parent | Initial commit. (diff) | |
download | inkscape-c853ffb5b2f75f5a889ed2e3ef89b818a736e87a.tar.xz inkscape-c853ffb5b2f75f5a889ed2e3ef89b818a736e87a.zip |
Adding upstream version 1.3+ds.upstream/1.3+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/3rdparty/libcroco/TODO')
-rw-r--r-- | src/3rdparty/libcroco/TODO | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/3rdparty/libcroco/TODO b/src/3rdparty/libcroco/TODO new file mode 100644 index 0000000..d0062d6 --- /dev/null +++ b/src/3rdparty/libcroco/TODO @@ -0,0 +1,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 little doc about how to use the parser as it is today. |