Open
Bug 1506926
Opened 6 years ago
Updated 2 years ago
Consider optimizing the way pixel difference is calculated for color contrast highlighter.
Categories
(DevTools :: Accessibility Tools, enhancement)
DevTools
Accessibility Tools
Tracking
(Not tracked)
NEW
People
(Reporter: yzen, Unassigned)
References
Details
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.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•