Here is an interesting jsfiddle.
In Firefox:
This is confirmed Chrome bug. See the Chromium Issue Tracker
The workaround is in the accepted answer.