Amaya formatting demo

View: New views
3 Messages — Rating Filter:   Alert me  

Amaya formatting demo

by ve3ll-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i have included a small demo showing miscalculation
of content width when text-indent property used
//

<?xml version="1.1" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head><title>Content Edges:VE3LL@...</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<style type="text/css">
body {margin:20px;border:1px solid red;padding:5px}
.in {text-indent:40px}
</style></head><body>
<h1>Content Indent:VE3LL@...</h1>
<p class="in">This is an indented paragraph. The wrap point should be
calculated correctly at the content edge (ie within the red border).
This is not always true in Amaya.</p>
<p>This is an unstyled paragraph. The wrap point is calculated correctly
at the content edge (ie within the red border).</p>
<p>It appears as if measures added with text-indent are not being
used in the calculation of content edge width.</p>
</body></html>

--
--
John Russell, VE3LL@...
http://home.cogeco.ca/~ve3ll
http://home.cogeco.ca/~trains
http://home.cogeco.ca/~cipher





Re: Amaya formatting demo

by Peter Kerr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 19/08/2009, at 3:41 AM, ve3ll@... wrote:

> i have included a small demo showing miscalculation
> of content width when text-indent property used
> //

This one may be a "bleeding edge" problem.
I have Safari 3.2.1 and Amaya 11(.0) December 2008
running on MacOS 10.5.6. Both of them display
this example correctly, with wrap cleanly following
adjustments of window width.

I've just run some updates:
Amaya 11.1 is OK

Amaya 11.2 Jul 3 2009 is broken.

Peter Kerr
School of Music


Re: Amaya formatting demo

by Vatton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le mardi 18 août 2009 à 11:41 -0400, ve3ll@... a écrit :
> i have included a small demo showing miscalculation
> of content width when text-indent property used

The problem is now fixed.
Thanks for the report

> //
>
> <?xml version="1.1" encoding="iso-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
> <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
> <head><title>Content Edges:VE3LL@...</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
> <style type="text/css">
> body {margin:20px;border:1px solid red;padding:5px}
> .in {text-indent:40px}
> </style></head><body>
> <h1>Content Indent:VE3LL@...</h1>
> <p class="in">This is an indented paragraph. The wrap point should be
> calculated correctly at the content edge (ie within the red border).
> This is not always true in Amaya.</p>
> <p>This is an unstyled paragraph. The wrap point is calculated correctly
> at the content edge (ie within the red border).</p>
> <p>It appears as if measures added with text-indent are not being
> used in the calculation of content edge width.</p>
> </body></html>
>
> --
--
Irene Vatton <Irene.Vatton@...>
INRIA