Commit aed724e
committed
Bug 1992551 - Simplify text editor value getter. r=smaug
Textarea no longer creates newlines in the middle (it only has a
trailing newline for caret positioning purposes), so this is equivalent
but avoids going through nsDocumentEncoder, nsPlainTextSerializer and so
on...
Differential Revision: https://phabricator.services.mozilla.com/D267509
UltraBlame original commit: a099475af71c851f2352f87c9a380b9ed156a3921 parent 561c0e5 commit aed724e
File tree
3 files changed
+19
-37
lines changed- dom/html
- editor/libeditor
3 files changed
+19
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2468 | 2468 | | |
2469 | 2469 | | |
2470 | 2470 | | |
2471 | | - | |
2472 | | - | |
2473 | | - | |
2474 | | - | |
2475 | | - | |
2476 | | - | |
2477 | | - | |
2478 | | - | |
2479 | | - | |
2480 | | - | |
2481 | | - | |
2482 | | - | |
2483 | | - | |
2484 | | - | |
2485 | | - | |
2486 | | - | |
2487 | | - | |
2488 | 2471 | | |
2489 | | - | |
2490 | | - | |
| 2472 | + | |
2491 | 2473 | | |
2492 | 2474 | | |
2493 | 2475 | | |
| |||
2829 | 2811 | | |
2830 | 2812 | | |
2831 | 2813 | | |
2832 | | - | |
| 2814 | + | |
2833 | 2815 | | |
2834 | 2816 | | |
2835 | 2817 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
375 | 391 | | |
376 | 392 | | |
377 | 393 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
| 188 | + | |
205 | 189 | | |
206 | 190 | | |
207 | 191 | | |
| |||
0 commit comments