3 ms·
> This problem was eventually addressed by browser vendors by simply improving the accuracy of color quantization when overlaying HTML element What does this m
by Kiro 10y ago
> This problem was eventually addressed by browser vendors by simply improving the accuracy of color quantization when overlaying HTML element
What does this mean?
- _pmf_ 10y ago> What does this mean? It means the problem was solved accidentally. Luckily enough, all problems will be solved for good by rewriting the browser in Rust, according to my reliable 10x engineer sources.
- Kiro 10y agoThanks but that doesn't answer my question at all. I want to know what "improving the accuracy of color quantization when overlaying HTML element" means exactly.
- j4_james 10y agoHis previous hack relied on browsers rounding the result of an opacity calculation in order to force a binary outcome (i.e. one of two colours rather than multiple shades). Once they improved the accuracy of those calculations this trick was no longer applicable I'm probably not explaining it very well, but you can read the full details of the hack here: http://lcamtuf.coredump.cx/css_calc/ http://lcamtuf.coredump.cx/css_calc/