Bug 13071 - REGRESSION: Plain text files no longer wrap lines longer than the width of the browser window
Summary: REGRESSION: Plain text files no longer wrap lines longer than the width of th...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, Regression
Depends on:
Blocks:
 
Reported: 2007-03-14 11:18 PDT by David Kilzer (:ddkilzer)
Modified: 2007-06-24 12:04 PDT (History)
2 users (show)

See Also:


Attachments
Test case (315 bytes, text/plain)
2007-03-14 11:19 PDT, David Kilzer (:ddkilzer)
no flags Details
Specify word-wrap:break-word (30.47 KB, patch)
2007-03-14 15:14 PDT, mitz
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2007-03-14 11:18:55 PDT
Loading a plain text file with a line longer than the width of the browser window no longer wrap.

Load test case to see the difference between WebKit and shipping Safari.

This is a regression from shipping Safari 2.0.4 (419.3) on Mac OS X 10.4.8 (8L127).

Tested with a local debug build of WebKit r20188.
Comment 1 David Kilzer (:ddkilzer) 2007-03-14 11:19:35 PDT
Created attachment 13632 [details]
Test case
Comment 2 mitz 2007-03-14 12:13:35 PDT
I think this can be corrected by tweaking the style of the <pre> element used in text documents. The test case also reveals a regression in white-space:pre-wrap, see bug 13072.
Comment 3 mitz 2007-03-14 15:14:37 PDT
Created attachment 13639 [details]
Specify word-wrap:break-word
Comment 4 Dave Hyatt 2007-03-14 17:09:14 PDT
Comment on attachment 13639 [details]
Specify word-wrap:break-word

r=me
Comment 5 Sam Weinig 2007-03-14 18:50:50 PDT
Landed in r20202.
Comment 6 David Kilzer (:ddkilzer) 2007-06-24 12:04:51 PDT
Mass removal of NeedsRadar keyword from my bugs that have already been RESOLVED.