Skip to content

Commit

Permalink
纠正无效链接
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Jul 27, 2023
1 parent 6d6c3b8 commit 2deff9c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
2 changes: 0 additions & 2 deletions blog/2023-02-01-decoding-libcss-source-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,6 @@ $(eval $(foreach PROP,$(AUTOGEN_PARSERS),$(call gen_prop_parser,$(PROP))))
以上就是 background 属性的解析过程,从中我们可以看出简写属性自身并不占用样式存储空间,它会在解析阶段被分解成若干个非简写属性进行解析和存储,分解的过程就是遍历每个值然后逐个检测是否与哪个非简写属性匹配。
另外,笔者在查阅 backgrond 属性的解析代码时有尝试找过 box-shadow 属性的代码但并未找到,不知是因为 box-shadow 解析实现成本太高还是因为 NetSurf 浏览器并未为实现阴影渲染功能。
## 计算
`css_select_style()` 函数实现了样式选择和计算功能,它所解决的问题可分为六类:指示、选择、层叠、内联、初始值、绝对值。值得注意的是,该函数的注释中有提到它生成的已计算样式还不能立即使用,需要调用 `css_computed_style_compose()` 获取完整的已计算样式,这种两步式样式计算方法旨在允许客户端存储部分已计算样式,并在布局变动时高效地更新节点的完整已计算样式。
Expand Down
6 changes: 3 additions & 3 deletions docs/rfcs/0004-lib-yutil.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ void test_list(void)
具体细节可查阅以下文档:
- 需求文档:[lib/yutil/docs/RA](../../../lib/yutil/docs/RA/)
- 调研文档:[lib/yutil/docs/Research_Report](../../../lib/yutil/docs/RA/)
- API 设计文档:[lib/yutil/docs/API](../../../lib/yutil/docs/RA/)
- 需求文档:[lib/yutil/docs/RA](https://gitee.com/yidianyiko/yutil/tree/main/docs/RA/)
- 调研文档:[lib/yutil/docs/Research_Report](https://gitee.com/yidianyiko/yutil/tree/main/docs/RA/)
- API 设计文档:[lib/yutil/docs/API](https://gitee.com/yidianyiko/yutil/tree/main/docs/RA/)
# 缺点
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/02-browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ struct Page {

- [LCPkg](https://github.com/lc-soft/lcpkg) —— 包管理工具,可以用来下载安装 LCUI 及相关库的二进制包。
- [LCUI CLI](https://github.com/lc-ui/lcui-cli) —— LCUI 的命令行开发工具,用于简化 LCUI 应用程序项目的开发。
- [CMake](www.cmake.org) —— 跨平台构建工具,用于构建我们的程序。
- [CMake](https://www.cmake.org) —— 跨平台构建工具,用于构建我们的程序。

## 开发

Expand Down Expand Up @@ -640,7 +640,7 @@ npm start

如果一切正常的话,程序的运行效果会是这样:

[![LCUI Router App](create-a-browser-like-app/lcui-router-app.gif "LCUI Router App")](/static/images/devlog/lcui-router-app.gif)
[![LCUI Router App](create-a-browser-like-app/lcui-router-app.gif "LCUI Router App")](./create-a-browser-like-app/lcui-router-app.gif)

## 结语

Expand Down
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const config = {
items: [
{
label: "Tutorials",
to: "/docs/next/tutorials",
to: "/docs/next/tutorials/todolist",
},
],
},
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-2.x/tutorials/browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ struct Page {

- [LCPkg](https://github.com/lc-soft/lcpkg) —— 包管理工具,可以用来下载安装 LCUI 及相关库的二进制包。
- [LCUI CLI](https://github.com/lc-ui/lcui-cli) —— LCUI 的命令行开发工具,用于简化 LCUI 应用程序项目的开发。
- [CMake](www.cmake.org) —— 跨平台构建工具,用于构建我们的程序。
- [CMake](https://www.cmake.org) —— 跨平台构建工具,用于构建我们的程序。

## 开发

Expand Down Expand Up @@ -640,7 +640,7 @@ npm start

如果一切正常的话,程序的运行效果会是这样:

[![LCUI Router App](create-a-browser-like-app/lcui-router-app.gif "LCUI Router App")](/static/images/devlog/lcui-router-app.gif)
[![LCUI Router App](create-a-browser-like-app/lcui-router-app.gif "LCUI Router App")](./create-a-browser-like-app/lcui-router-app.gif)

## 结语

Expand Down

0 comments on commit 2deff9c

Please sign in to comment.