@
zy445566 dom_parse.cpp:1-8 注释
“HTML tokenizer + tree builder. … The tree builder keeps a stack of open elements and applies a small set of HTML 'implied end tag' rules, which is all a UI document needs.”
doc/gui/
known-issues.md 、doc/gui/
dom.md 、doc/gui/
layout.md- 支持块级布局、行内布局、Flexbox 、Grid 、position: relative/absolute/fixed 、transform 、transition 、 @
keyframes 、 @
media 、::before/::after 、渐变、阴影、clip-path 、filter 等
- 支持 DOM 查询、事件、innerHTML 、classList 、style 、Canvas 、SVG 、Audio 等
- 但只是 CSS 子集:background-clip 、background-position 、background-repeat 未实现;某些属性只是能解析但没有效果; SVG 只是 NanoSVG 子集;没有真浏览器级兼容
canvas webgl 也都是子集。。。你赢了。。