Home › Forums › CSS › Checkbox Hack on Mobile Webkit › Re: Checkbox Hack on Mobile Webkit
July 19, 2012 at 4:52 pm
#106441
Member
I have the same problem. This hack seems to work on every browser that I’ve come across, except the default Android browser. I obviously don’t like designing pages based on a hack, but when your only other option for storing state data with CSS (and avoiding javascript) is :target, I’m going to want to go with this hack (which works in more browsers than :target).
I am not sure what causes it. Do let me know if you find an answer, and I’ll do the same.
EDIT: I’ve been testing further. It seems that the android browser does check the input tag, but the :checked pseudo class in the CSS doesn’t get activated or isn’t dynamically applied.