mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00: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!
21 lines
387 B
Text
21 lines
387 B
Text
--- 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
|