Skip to content

Commit

Permalink
fix(css): the left property is not cascaded
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Dec 26, 2023
1 parent d5a9d67 commit d89ef8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/css/src/computed.c
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ int css_cascade_style(const css_style_decl_t *style,
// TODO: 确定 cascade() 返回值的用法
}
// 给其它属性设置初始值
for (i = 1; i < count; ++i) {
for (i = 0; i < count; ++i) {
if (setted_props[i]) {
continue;
}
Expand Down

0 comments on commit d89ef8f

Please sign in to comment.