Remove whitespace rebalancing of the fragment from ReplaceSelectionCommand
https://bugs.webkit.org/show_bug.cgi?id=11475
Summary Remove whitespace rebalancing of the fragment from ReplaceSelectionCommand
Justin Garcia
Reported 2006-10-31 15:29:27 PST
Whitespace rebalancing of the fragment creates the problem demonstrated by: nested-blocks-with-*.html Unrendered whitespace at the end of the fragment are uncollapsed by whitespace rebalancing. Functions that create fragments should be responsible for using nbsps where appropriate.
Attachments
Ahmad Saleem
Comment 1 2022-12-19 14:46:14 PST
Only two tests related to it in /editing/: https://github.com/WebKit/WebKit/blob/422c18c5dba37299622f8634c99d776ec1b017f9/LayoutTests/editing/pasteboard/nested-blocks-with-text-area.html#L4 https://github.com/WebKit/WebKit/blob/422c18c5dba37299622f8634c99d776ec1b017f9/LayoutTests/editing/pasteboard/nested-blocks-with-text-field.html#L4 These tests does not seems to be skipped and are matching their expectation and recently we fixed nbsp related bug as well. Do we need to do more or someone knows background about this bug and can explain more? Thanks!
Note You need to log in before you can comment on or make changes to this bug.