Border removed from input button elements in IE9 #214

grahambates opened this Issue May 1, 2012 · 0 comments


None yet
1 participant

When applying a border image to a submit button it appears that the border width is ignored in IE9. After some digging I found that the border is removed by the hideBorder() function for this element type and should be replaced by padding. This is not happening and as far as I can tell is unnecessary for IE9's renderer.

I implemented a quick fix by adding a version check on line 2462 on the There's probably a better way to do this and I haven't checked how this impacts other css properties.

tag === 'BUTTON' || ( PIE.ieVersion < 9 && tag === 'INPUT' && el.type in PIE.inputButtonTypes ) ) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment