Bug 19358

Summary: first line break in <pre> elements ignored (chess boards at http://rankzero.de/)
Product: WebKit Reporter: Darin Adler <darin>
Component: DOMAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://rankzero.de
Attachments:
Description Flags
patch mitz: review+

Darin Adler
Reported 2008-06-02 09:25:51 PDT
This is a bug in the HTML tokenizer's discardLF feature, in the HTMLTokenizer::write function. We need to clear the discardLF flag in two cases where we don't today: Entity processing and tag processing.
Attachments
patch (9.75 KB, patch)
2008-06-02 09:41 PDT, Darin Adler
mitz: review+
Darin Adler
Comment 1 2008-06-02 09:26:04 PDT
Darin Adler
Comment 2 2008-06-02 09:39:51 PDT
Only tag processing, not entity processing.
Darin Adler
Comment 3 2008-06-02 09:41:41 PDT
mitz
Comment 4 2008-06-02 09:47:05 PDT
Comment on attachment 21463 [details] patch r=me
Darin Adler
Comment 5 2008-06-02 10:27:33 PDT
Committed revision 34311.
Note You need to log in before you can comment on or make changes to this bug.