- Notifications
You must be signed in to change notification settings - Fork20.6k
Commitff28199
authored
Attributes: Refactor val(): don't strip carriage return, isolate IE workarounds
Before this change, `val()` was stripping out carriage return characters fromthe returned value. No test has relied on that. The logic was different foroption elements as its custom defined hook was omitting this stripping logic.This commit gets rid of the carriage return removal and isolates the IE-onlyselect val getter to be skipped in other browsers.Closesgh-45851 parenteb35be5 commitff28199
2 files changed
+70
-22
lines changedLines changed: 19 additions & 22 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
| 2 | + | |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
6 | 7 |
| |
7 |
| - | |
8 |
| - | |
9 | 8 |
| |
10 | 9 |
| |
11 | 10 |
| |
| |||
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 | 27 |
| |
34 | 28 |
| |
35 | 29 |
| |
| |||
77 | 71 |
| |
78 | 72 |
| |
79 | 73 |
| |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 | 74 |
| |
95 | 75 |
| |
96 | 76 |
| |
| |||
144 | 124 |
| |
145 | 125 |
| |
146 | 126 |
| |
147 |
| - | |
| 127 | + | |
148 | 128 |
| |
149 | 129 |
| |
150 | 130 |
| |
| |||
160 | 140 |
| |
161 | 141 |
| |
162 | 142 |
| |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
163 | 160 |
| |
164 | 161 |
| |
165 | 162 |
| |
|
Lines changed: 51 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1196 | 1196 |
| |
1197 | 1197 |
| |
1198 | 1198 |
| |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
1199 | 1250 |
| |
1200 | 1251 |
| |
1201 | 1252 |
| |
|
0 commit comments
Comments
(0)