Bug 19358 - first line break in <pre> elements ignored (chess boards at http://rankzero.de/)
Summary: first line break in <pre> elements ignored (chess boards at http://rankzero.de/)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Darin Adler
URL: http://rankzero.de
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-06-02 09:25 PDT by Darin Adler
Modified: 2008-06-02 10:27 PDT (History)
0 users

See Also:


Attachments
patch (9.75 KB, patch)
2008-06-02 09:41 PDT, Darin Adler
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 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.
Comment 1 Darin Adler 2008-06-02 09:26:04 PDT
<rdar://problem/5951986>
Comment 2 Darin Adler 2008-06-02 09:39:51 PDT
Only tag processing, not entity processing.
Comment 3 Darin Adler 2008-06-02 09:41:41 PDT
Created attachment 21463 [details]
patch
Comment 4 mitz 2008-06-02 09:47:05 PDT
Comment on attachment 21463 [details]
patch

r=me
Comment 5 Darin Adler 2008-06-02 10:27:33 PDT
Committed revision 34311.