<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>11475</bug_id>
          
          <creation_ts>2006-10-31 15:29:27 -0800</creation_ts>
          <short_desc>Remove whitespace rebalancing of the fragment from ReplaceSelectionCommand</short_desc>
          <delta_ts>2022-12-19 14:46:21 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Justin Garcia">justin.garcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>rniwa</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48263</commentid>
    <comment_count>0</comment_count>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2006-10-31 15:29:27 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1920584</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-12-19 14:46:14 -0800</bug_when>
    <thetext>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!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>