Bug 11475
| Summary: | Remove whitespace rebalancing of the fragment from ReplaceSelectionCommand | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Justin Garcia <justin.garcia> |
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ahmad.saleem792, rniwa, wenson_hsieh |
| Priority: | P2 | ||
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
Justin Garcia
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
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!