I was attempting to do CSS crimes on cohost and discovered a bizarre Firefox bug with selecting text (when trying to copy something from cohost's stylesheet) in the process…
magical girl on the internet?
I was attempting to do CSS crimes on cohost and discovered a bizarre Firefox bug with selecting text (when trying to copy something from cohost's stylesheet) in the process…
interesting, I do not have that same issue on my firefox 107 on linux setup. I was wondering if this was a variant of the "floating point imprecision causes selection highlight to be off in very long lines" problem, but the CSS you linked linewraps
I also wondered about floating-point precision, but considering the actual size of this file, it shouldn't be anywhere near the region where floating-point precision issues appear.
The file doesn't line-wrap for me, are you using the view-source: view?
ah, I wasn't. and yeah, with view-source: I do get the offset selection. I am pretty sure this is the same (or related) bug I was thinking of though, since if I do a ctrl-f for "@keyframes spin" and then select starting at the (visually offset) location where it highlights match, I get the correct text
EDIT: could've sworn I saw it on mozilla's bugzilla, but grepping my irc logs I can't find it linked anywhere