1 Star 0 Fork 0

SyberOS/os-libcroco

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
TODO 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
Vincent Sanders 提交于 2017-10-06 12:16 . Imported Upstream version 0.6.8
*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.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/SyberOS/os-libcroco.git
git@gitee.com:SyberOS/os-libcroco.git
SyberOS
os-libcroco
os-libcroco
syberos-master

搜索帮助