Remix.run Logo
cylemons 3 days ago

How does testing rendering work? Can javascript get pixel data from the DOM

Beretta_Vexee 3 days ago | parent [-]

https://www.w3schools.com/tags/canvas_getimagedata.asp

cylemons 10 hours ago | parent [-]

So the way this works is to draw fonts/svgs inside the canvas and check the pixels, that makes sense