KurtPachinger / mpos-precept

Imposter DOM rects in THREE
https://codesandbox.io/s/q48x05
MIT License
1 stars 1 forks source link

to-do #1

Open KurtPachinger opened 1 year ago

KurtPachinger commented 1 year ago

enhancement

bug

KurtPachinger commented 1 year ago

crash, display and memory

THREE.Color: Unknown color transparent THREE.Color: Alpha component of rgba(128, 128, 128, 0.125) will be ignored. Too many active WebGL contexts. Oldest context will be lost. THREE.WebGLRenderer: Context Lost. THREE.WebGLRenderer: Context Restored.

KurtPachinger commented 1 year ago

content type bias

mixed-content CSS3D .mp-native toSvg .mp-poster FileLoader .mp-loader
* 100% events cors <512 #comment
. htm pdf jpg txt xml
model-viewer a-scene babylon three-d-viewer #stl_cont #root .sketchfab-embed-wrapper StandardReality
iframe, object, embed
svg SVGLoader text
canvas
audio controls AudioLoader
Lena.mp-loader OpenCV
KurtPachinger commented 1 year ago

export module

best practice & accessibility

KurtPachinger commented 1 year ago

HARD-REFRESH: MutationObserver

Rebuild all nodes, excluding eligible/active forms or videos.

SOFT-REFRESH: IntersectionObserver

Focus update within viewport, and minimize reflow (zero-height, lazy-loaded, triggered...).

update use cases: scroll, resize, live DOM, accordion/gallery

KurtPachinger commented 1 year ago

frame shortlist

An update should:

done queue priority attribute usage
... 1 :pseudo after, before, hover, focus
3 animation
background color
border color, width
2 opacity
1 overflow scroll
position fixed
3 transform matrix, origin, rotate, scale
3 transition
2 visibility
z-index integer

*outliers: deep tree, filetype.gif, canvas, loader, hidden iframe