OSDN Git Service

Regular updates
[twpd/master.git] / ie_bugs.md
1 ---
2 title: Legacy IE bugs
3 category: HTML
4 layout: 2017/sheet
5 updated: 2018-03-06
6 intro: |
7   A bunch of bugs to take care of if you're going to target legacy IE browsers.
8 ---
9
10 ### IE8: 'change' event
11
12 The 'change' event doesn't always fire. Not for checkboxes, radios, multi-select lists. Use the `click` handler instead.
13
14  * [(1)](http://stackoverflow.com/questions/8005442/checkbox-change-event-works-when-click-the-label-in-ie8-ie7)
15
16 ### IE8: label with input
17
18 Clicking label with input inside doesn't focus the input.
19
20  * [(1)](http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/LabelForWithImage.html)
21
22 ### IE8: Opacity propagation
23
24 An element's 'opacity' value isn't propagated to its positioned descendants.
25
26  * [test case](http://jhop.me/tests/bugs/ie8/opacity_positioned.html)