Open Bug 1506926 Opened 5 years ago Updated 1 year ago
Consider optimizing the way pixel difference is calculated for color contrast highlighter
The tool can get slow if we have a lot of pixels to go through. On a big text node (font-size: 100em, or smaller but with a text-shadow) I could see a noticeable freeze on my machine. One solution could introduce an upper bound (either for this loop or for the size of the window "screenshot" we take). Another solution could be scaling the image to something smaller, it will probably still yield reasonable results.
You need to log in before you can comment on or make changes to this bug.