> That's because autofocus causes CSS flashes on some web-browsers.
> If you can suggest a reasonable workaround, that would be great.

Oh, I'm sorry I've missed that.

The only other way I know is by JavaScript, something like:

window.onload = function() {

Nowadays, the faster "DOM ready" event may be preferred over
`window.onload', but finding a cross-browser solution here always
seems somewhat cumbersome to me, and the latter seems quick enough for
simple web pages.

However, I'm not sure what are "CSS flashes", and whether they may
appear with the JavaScript method, as well.

fossil-users mailing list

Reply via email to