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

Amaya 9.52 WinXP possible bug: first p in td

From: Bartolomé Sintes Marco <bartolomesintes@ono.com>
Date: Mon, 30 Oct 2006 19:14:14 +0100
Message-ID: <454640F6.6030306@ono.com>
To: www-amaya@w3.org

Hi,

In Amaya 9.52 for Windows XP if the user writes some text in a table 
cell and presses Intro, a new paragraph is created, but the text already 
created is not included in a paragraph.

For example, if the user creates a table and types: "This is not a 
paragraph [Return]This is a paragraph", the source code would be:

<table border="1">
   <caption></caption>
   <tbody>
     <tr>
       <td>This is not a paragraph

         <p>This is a paragraph</p>
       </td>
     </tr>
   </tbody>
</table>

(I would prefer that the first text would be included in a paragraph, 
but it is a matter of taste)

If the user wants the first text included also in a paragraph, he can 
select it and choose XHTML > paragraph menu. The source code would be:

<table border="1">
   <caption></caption>
   <tbody>
     <tr>
       <td><p>This is not a paragraph</p>

         <p>This is a paragraph</p>
       </td>
     </tr>
   </tbody>
</table>

If the table is copied/cut and pasted, the first <p> mark is deleted 
(not the text). The source code would be again:

<table border="1">
   <caption></caption>
   <tbody>
     <tr>
       <td>This is not a paragraph

         <p>This is a paragraph</p>
       </td>
     </tr>
   </tbody>
</table>

Is there a reason for this behaviour or is it a bug?

Best regards,
Bartolomé Sintes (http://www.mclibre.org)
Received on Monday, 30 October 2006 18:14:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:52 UTC