2013-10-14 02:36:58 +00:00
|
|
|
---
|
2017-10-29 12:01:53 +00:00
|
|
|
title: Legacy IE bugs
|
2015-11-24 04:48:01 +00:00
|
|
|
category: HTML
|
2020-07-04 13:33:09 +00:00
|
|
|
updated: 2018-03-06
|
2017-10-29 12:01:53 +00:00
|
|
|
intro: |
|
|
|
|
A bunch of bugs to take care of if you're going to target legacy IE browsers.
|
2014-06-07 15:07:14 +00:00
|
|
|
---
|
2012-12-17 23:07:19 +00:00
|
|
|
|
2017-10-29 12:01:53 +00:00
|
|
|
### IE8: 'change' event
|
2012-12-17 23:07:19 +00:00
|
|
|
|
2017-10-29 12:01:53 +00:00
|
|
|
The 'change' event doesn't always fire. Not for checkboxes, radios, multi-select lists. Use the `click` handler instead.
|
2012-12-17 23:07:19 +00:00
|
|
|
|
|
|
|
* [(1)](http://stackoverflow.com/questions/8005442/checkbox-change-event-works-when-click-the-label-in-ie8-ie7)
|
|
|
|
|
2017-10-29 12:01:53 +00:00
|
|
|
### IE8: label with input
|
|
|
|
|
|
|
|
Clicking label with input inside doesn't focus the input.
|
2012-12-17 23:07:19 +00:00
|
|
|
|
|
|
|
* [(1)](http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/LabelForWithImage.html)
|
|
|
|
|
2017-10-29 12:01:53 +00:00
|
|
|
### IE8: Opacity propagation
|
|
|
|
|
|
|
|
An element's 'opacity' value isn't propagated to its positioned descendants.
|
2012-12-17 23:07:19 +00:00
|
|
|
|
|
|
|
* [test case](http://jhop.me/tests/bugs/ie8/opacity_positioned.html)
|