4 ms·
the standalone version produces a dom tree? I expected canvas rendering, which would be MUCH faster. (?) <div style="top: 628.75px; left: 125px; position: abs
by singularity2001 8y ago
the standalone version produces a dom tree?
I expected canvas rendering, which would be MUCH faster. (?)
<div style="top: 628.75px; left: 125px; position: absolute; transform-origin: 0px 0px 0px;"><label style="width: 38px; height: 38px;" class="PSPDFKit-43pb73xrbckjuggksebahxjw9 PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-CheckBox"><input name="Checkboxes 2" value="Checkboxes" type="checkbox"><span class="PSPDFKit-v4b9qprfhz2hybx1p43s4xgx6 PSPDFKit-8vpzte5r65p8pf9q4d61qcb34u" style="border-width: 1.25px;"></span></label></div>
- josephg 8y agoIf you render to canvas, you would need to reimplement scrolling and zooming, checkboxes and input elements. Any custom reimplementation of this stuff will end up slower and clunkier than the optimised, native versions already in browsers. Also (as far as I know) canvas content is inaccessible to screen readers. Accessibility matters.
- pjmlp 8y agoNo problem. http://example.qt.io/qt-webassembly/quickcontrols2/gallery/gallery.html http://example.qt.io/qt-webassembly/quickcontrols2/gallery/g...