mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 11:06:10 +00:00
LibWeb: Align editing whitespace canonicalization with other browsers
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!
This commit is contained in:
parent
36bb2824a6
commit
6176b05ca5
Notes:
github-actions[bot]
2025-04-29 13:33:03 +00:00
Author: https://github.com/gmta
Commit: 6176b05ca5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4520
3 changed files with 81 additions and 48 deletions
|
@ -1,2 +1,21 @@
|
|||
--- 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue