Re: Changes in hyphenation
Jorge Arellano Cid <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Sebastian, On Fri, Nov 02, 2012 at 04:04:52PM +0100, Sebastian Geerken wrote: > On Fri, Nov 02, Sebastian Geerken wrote: > [...] > Johannes patch is (with some changes) applied. I have no problems with the latest patch. The code respects PRE formatted code inserting a horizontal scroll when necessary. FWIW, without this last patch, I had problems with the attached test case. BTW, what will happen with HTML pages that quote full-paragraph-in-one-line emails with PRE? (unfortunately I don't have an example page at hand). -- Cheers Jorge.- _______________________________________________ Dillo-dev mailing list [email protected] http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
pre_ascii.html
(text/html, 4.1 KB)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<!-- testcase: pre_ASCII.html -->
<!-- Description: HTML 4.0 Pre element using the ASCII space, tab and form-feed. -->
<!-- Author: Beth Epperson Date: 5/5/99 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):
-->
<!-- <meta name="crc" content=> -->
<!-- Purpose: To test the PRE element with ASCII format -->
<!-- Expected result: The ascii format should be perserved in a PRE element -->
<TITLE>HTML Functional -- PRE - ASCII</TITLE>
</HEAD>
<BODY>
<h4>PRE element using ASCII space (&#x0020;) for indentation and ASCII LF (&#x000A;) for returns</h4>
<pre>
Humpty Dumpty sat on a wall.
     Humpty Dumpty had a great fall.
     All the King's horses and all the King's men
     Couldn't put Humpty together again.

They called a doctor from the town.
     To come and fix poor Humpty's crown.
     He put a stitch in Humpty's leg.
     And bandaged up poor Humpty's egg.

He used some tape and then some glue,
     And Humpty's now as good as new.
</pre>
<hr>
<h4>PRE element using ASCII space (&#32;) for indentation and ASCII LF (&#10;) for returns</h4>
<pre>
Humpty Dumpty sat on a wall.      Humpty Dumpty had a great fall.      All the King's horses and all the King's men      Couldn't put Humpty together again. They called a doctor from the town.      To come and fix poor Humpty's crown.      He put a stitch in Humpty's leg.      And bandaged up poor Humpty's egg. He used some tape and then some glue,      And Humpty's now as good as new.
</pre>
<hr>
<h4>PRE element using ASCII tab (&#x0009) for indentation and ASCII CR (&#x000D;)for returns</h4>
<pre>
Humpty Dumpty sat on a wall.
		Humpty Dumpty had a great fall.
		All the King's horses and all the King's men
		Couldn't put Humpty together again.

They called a doctor from the town.
		To come and fix poor Humpty's crown.
		He put a stitch in Humpty's leg.
		And bandaged up poor Humpty's egg.

He used some tape and then some glue,
		And Humpty's now as good as new.
</pre>
<hr>
<h4>PRE element using ASCII tab (&#09) for indentation and ASCII CR (&#13;)for returns</h4>
<pre>
Humpty Dumpty sat on a wall. 	Humpty Dumpty had a great fall. 	All the King's horses and all the King's men 	Couldn't put Humpty together again. They called a doctor from the town. 	To come and fix poor Humpty's crown. 	He put a stitch in Humpty's leg. 	And bandaged up poor Humpty's egg. He used some tape and then some glue, 	And Humpty's now as good as new.
</pre>
</PRE>
</BODY>
</HTML>