Bug 7216

Summary: white-space: pre-wrap collapses leading whitespace following a newline
Product: WebKit Reporter: mitz
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: hyatt
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
patch hyatt: review+

Description mitz 2006-02-12 10:36:48 PST
[Reported by Dave Hyatt]

white-space: pre-wrap collapses whitespace at the start of the line if the previous line ends in a newline. The root cause is that previousLineBrokeCleanly is only being set for <br> and not for breaks caused by newlines.

Patch coming up.
Comment 1 mitz 2006-02-12 10:49:23 PST
Created attachment 6436 [details]
patch
Comment 2 Dave Hyatt 2006-02-12 17:34:44 PST
Comment on attachment 6436 [details]
patch

r=me