mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
The spec calls for a couple of very specific whitespace padding techniques whenever we canonicalize whitespace during the execution of editing commands, but it seems that other browsers have a simpler strategy - let's adopt theirs!
22 lines
387 B
Plaintext
22 lines
387 B
Plaintext
--- a ---
|
|
Before: foobar
|
|
After: fooar
|
|
--- b ---
|
|
Before: a
|
|
After: a
|
|
--- c ---
|
|
Before: a b
|
|
After: a b
|
|
--- d ---
|
|
Before: a b
|
|
After: a b
|
|
--- e ---
|
|
Before: a b
|
|
After: a b
|
|
--- f ---
|
|
Before: a b
|
|
After: a b
|
|
--- g ---
|
|
Before: b
|
|
After: b
|