canvas-render-html

Render HTML code with canvas

MIT License

Downloads
2
Stars
8

canvas-render-html

English

CanvasHTML 0.0.1-alpha

  1. HTMLJS
  2. html
  3. vuereactUI
  4. UI

Issue MR

Done list

  1. DOM
  2. PIXI
  3. colorfontSizewidthheightdisplaylefttop
  4. querySelector api

Todo List

  1. css done
  2. done
  3. style
  4. script
  5. z-index
  6. flex
  7. DOM window api
  8. imgaudiovideo
  9. resize
  10. ...

HTML -> vdom + css -> pixi

layout

elemntlayoutboundary

inline + block relative

  1. parent
  2. layout

textNode

  1. textNode
  2. layout

IDEA

adapter

pixiui adapter

  1. input webinput wx.showKeyboard
  2. audio web: Audio wx.createWebAudioContext
  3. video web: video wx.createVideo video // wx.createVideoDecoder 2

=>

  1. css+

  2. important

  3. class id attr

cssom

  1. style=xxx

stylecssom

  1. style.xx = xx

style important

pixi

renderManager

https://davidfig.github.io/pixi-scrollbox/