(HTMLInputElementImp::generateShadowContent): Support 'checkbox' for Script.test