- Notifications
You must be signed in to change notification settings - Fork20.6k
Commitccbd6b9
authored
Traversing: Fix
The original fix didn't account for the fact that in IE `<object>` elementswith no `data` attribute have an object `contentDocument`. The fix leveragesthe fact that this special object has a null prototype.Closesgh-4390Refgh-4384Refgh-4385contents()
on<object>
s with children in IE1 parent4d865d9 commitccbd6b9
1 file changed
+9
-2
lines changedLines changed: 9 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
| |||
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
12 |
| - | |
| 13 | + | |
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| |||
145 | 146 |
| |
146 | 147 |
| |
147 | 148 |
| |
148 |
| - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
149 | 156 |
| |
150 | 157 |
| |
151 | 158 |
| |
|
0 commit comments
Comments
(0)