RESOLVED FIXED 5593
CSS2: pre-wrap needs to break only after all white-space
https://bugs.webkit.org/show_bug.cgi?id=5593
Summary CSS2: pre-wrap needs to break only after all white-space
Dave Hyatt
Reported 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.
Attachments
Test Case (236 bytes, text/html)
2005-11-02 01:00 PST, Dave Hyatt
no flags
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+
Dave Hyatt
Comment 1 2005-11-02 01:00:50 PST
Created attachment 4561 [details] Test Case
Dave Hyatt
Comment 2 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.
Adele Peterson
Comment 3 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
Note You need to log in before you can comment on or make changes to this bug.