Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you use CSS to throw your browser into an infinite loop?


I've seen this, in situations where a link is set to become bold when the mouse pointer is hovering over it. The result is that the text becomes bold, and redistributes itself. Having redistributed itself, the bold link is no longer under your mouse pointer, so the link shrinks back to normal font weight. Now the link is back under your mouse pointer so it becomes bold again. Repeat.


A Turing complete machine can require a manual intervention for each step. But yes, if you keep clicking an infinite number of times it can be.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: