Bug 5593

Summary: CSS2: pre-wrap needs to break only after all white-space
Product: WebKit Reporter: Dave Hyatt <hyatt>
Component: Layout and RenderingAssignee: Dave Hyatt <hyatt>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Test Case
none
Patch that collapses white-space for pre-wrap at the start of lines that didn't break cleanly. adele: review+

Description Dave Hyatt 2005-11-02 01:00:09 PST
In the attached testcase, you will see white-space at the start of lines.  This basically shouldn't happen 
unless that space is after a line that broke cleanly (or the first line).  Breaking is occurring in the middle of 
runs of white-space, and it should only be allowed to occur at the end of the run of white-space.
Comment 1 Dave Hyatt 2005-11-02 01:00:50 PST
Created attachment 4561 [details]
Test Case
Comment 2 Dave Hyatt 2005-11-03 12:03:18 PST
Created attachment 4585 [details]
Patch that collapses white-space for pre-wrap at the start of lines that didn't break cleanly.
Comment 3 Adele Peterson 2005-11-03 12:14:51 PST
Comment on attachment 4585 [details]
Patch that collapses white-space for pre-wrap at the start of lines that didn't break cleanly.

r=me