Well...
There is a way to bypass some limitations in html+css rendering.
I used this thing to make hotspots for VR look the same as in common mode:
https://github.com/pbakaus/domvas
It renders styled html code into canvas and lets save it as an image. WIth it's own limitations, yet, I was unable to render pictures into canvas.
A little layouts with some custom positioned blocks and custom icon fonts worked OK, and text features support is full.