W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2003

Re: Amaya white-space handling

From: Irene Vatton <irene.vatton@inrialpes.fr>
Date: Wed, 29 Oct 2003 10:33:30 +0100
To: Bartolomé Sintes Marco <BartolomeSintes@ono.com>
Cc: www-amaya@w3.org
Message-Id: <20031029103330.0d8082d3.irene.vatton@inrialpes.fr>

On Tue, 28 Oct 2003 11:37:36 +0100
Bartolomé Sintes Marco <BartolomeSintes@ono.com> wrote:

> Hi
> 
> I do not like how Amaya handles white-spaces nowadays. Amaya deletes double white-spaces except inside <pre> tags (at least). But white-space handling can be defined by CSS white-space property and Amaya does not take it into account.

We know that but unfornately Amaya doesn't interpret this CSS property today.

> For example, I can not create this file with Amaya:
> 
> p.csscode { white-space: pre; }
> 
> <p class="csscode">This is a sample of a CSS file:<br />
> h1<br />
>     {<br />
>          color: white;<br />
>          background-color: black;<br />
>     }</p>
> 
> because Amaya deletes the white-spaces.
> 
> This behaviour was added to Amaya in a recent release (I can not remember exactly when). Can you change to the old way or are there other benefits from it?

What I suggest for the next week release is to:
- Add an option in the configuration file thot.rc that let you desactive that behaviour.
- Handle correctly the xml:space attribute.

     Irene.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Wednesday, 29 October 2003 04:33:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:28 UTC