Bug 5593 - CSS2: pre-wrap needs to break only after all white-space
Summary: CSS2: pre-wrap needs to break only after all white-space
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Dave Hyatt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-02 01:00 PST by Dave Hyatt
Modified: 2005-11-03 13:05 PST (History)
0 users

See Also:


Attachments
Test Case (236 bytes, text/html)
2005-11-02 01:00 PST, Dave Hyatt
no flags Details
Patch that collapses white-space for pre-wrap at the start of lines that didn't break cleanly. (3.21 KB, patch)
2005-11-03 12:03 PST, Dave Hyatt
adele: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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