Commit bb5bbbf
authored
Rollup merge of rust-lang#118296 - notriddle:notriddle/main-dom, r=GuillaumeGomez
rustdoc: replace `elemIsInParent` with `Node.contains`
According to [MDN], this function is compatible with:
* Chrome 16 and Edge 12
* Firefox 9
* Safari 1.1 and iOS Safari 1
These browsers are well within our [support matrix], which requires compatibility with Chrome 118, Firefox 115, Safari 17, and Edge 119.
[MDN]: https://developer.mozilla.org/en-US/docs/Web/API/Node/contains#browser_compatibility
[support matrix]: https://browsersl.ist/#q=last+2+Chrome+versions%2C+last+1+Firefox+version%2C+Firefox+ESR%2C+last+1+Safari+version%2C+last+1+iOS+version%2C+last+1+Edge+version%2C+last+1+UCAndroid+version2 files changed
+11
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 28 | | |
39 | | - | |
40 | | - | |
| 29 | + | |
| 30 | + | |
41 | 31 | | |
42 | 32 | | |
43 | 33 | | |
| |||
1118 | 1108 | | |
1119 | 1109 | | |
1120 | 1110 | | |
1121 | | - | |
| 1111 | + | |
1122 | 1112 | | |
1123 | 1113 | | |
1124 | 1114 | | |
| |||
1178 | 1168 | | |
1179 | 1169 | | |
1180 | 1170 | | |
1181 | | - | |
1182 | | - | |
1183 | | - | |
1184 | | - | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
1185 | 1175 | | |
1186 | 1176 | | |
1187 | 1177 | | |
| |||
1248 | 1238 | | |
1249 | 1239 | | |
1250 | 1240 | | |
1251 | | - | |
1252 | | - | |
| 1241 | + | |
| 1242 | + | |
1253 | 1243 | | |
1254 | 1244 | | |
1255 | 1245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
0 commit comments