Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
LayoutTests:
Reviewed by Hyatt. - test for://bugs.webkit.org/show_bug.cgi?id=13071 REGRESSION: Plain text files no longer wrap lines longer than the width of the browser window * fast/loader/resources/text-document-wrapping.txt: Added. * fast/loader/text-document-wrapping-expected.checksum: Added. * fast/loader/text-document-wrapping-expected.png: Added. * fast/loader/text-document-wrapping-expected.txt: Added. * fast/loader/text-document-wrapping.html: Added. WebCore: Reviewed by Hyatt. - http://bugs.webkit.org/show_bug.cgi?id=13071 REGRESSION: Plain text files no longer wrap lines longer than the width of the browser window Test: fast/loader/text-document-wrapping.html * loader/TextDocument.cpp: (WebCore::TextTokenizer::write): Specified word-wrap:break-word for the <pre> element. Canonical link: https://commits.webkit.org/16998@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20202 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
53 additions
and 1 deletion.
- +13 −0 LayoutTests/ChangeLog
- +3 −0 LayoutTests/fast/loader/resources/text-document-wrapping.txt
- +1 −0 LayoutTests/fast/loader/text-document-wrapping-expected.checksum
- BIN LayoutTests/fast/loader/text-document-wrapping-expected.png
- +20 −0 LayoutTests/fast/loader/text-document-wrapping-expected.txt
- +3 −0 LayoutTests/fast/loader/text-document-wrapping.html
- +12 −0 WebCore/ChangeLog
- +1 −1 WebCore/loader/TextDocument.cpp
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,3 @@ | ||
This line should wrap with no horizontal scroll bar: | ||
|
||
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
c359bad668142b5c0874b1d4e0e326f8 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,20 @@ | ||
layer at (0,0) size 800x600 | ||
RenderView at (0,0) size 800x600 | ||
layer at (0,0) size 800x600 | ||
RenderBlock {HTML} at (0,0) size 800x600 | ||
RenderFrameSet {FRAMESET} at (0,0) size 800x600 | ||
RenderFrame {FRAME} at (0,0) size 800x600 | ||
layer at (0,0) size 798x596 | ||
RenderView at (0,0) size 798x596 | ||
layer at (0,0) size 798x596 | ||
RenderBlock {HTML} at (0,0) size 798x596 | ||
RenderBody {BODY} at (8,8) size 782x575 | ||
RenderBlock {PRE} at (0,0) size 782x75 | ||
RenderText {#text} at (0,0) size 776x75 | ||
text run at (0,0) width 416: "This line should wrap with no horizontal scroll bar:" | ||
text run at (416,0) width 0: " " | ||
text run at (0,15) width 0: " " | ||
text run at (0,30) width 776: "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrs" | ||
text run at (0,45) width 776: "tuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl" | ||
text run at (0,60) width 528: "mnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz" | ||
text run at (528,60) width 0: " " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,3 @@ | ||
<frameset> | ||
<frame src="resources/text-document-wrapping.txt"> | ||
</frameset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters