4 ms·
Thanks greggman! It does make sense why it behaves this way, I was confused why Chrome doesn't behave similarly. (huge fan of your work by the way!)
by OmarShehata 5y ago
Thanks greggman! It does make sense why it behaves this way, I was confused why Chrome doesn't behave similarly.
(huge fan of your work by the way!)
- greggman3 5y agoDifferent browsers behave differently because the spec is flexible (good or bad). For example exactly what algo is used to draw a line is not specified AFAIK which allows a browser to use a faster algo if they have one rather than spell it out down to the pixel. For example if they fall back to software rendering maybe they don't antialias. Of course that has pluses and minus. The plus is browsers can try to be more efficient. The minus is the issue you ran into which is frustrating. Maybe someone (me?) should go update the MDN docs with a note :P