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

Amaya 9.53 WinXP RFE: copy and paste elements with ID attribute (normal view)

From: Bartolomé Sintes Marco <bartolomesintes@ono.com>
Date: Wed, 22 Nov 2006 10:06:13 +0100
Message-ID: <45641305.5000101@ono.com>
To: www-amaya@w3.org

Hi,

In Amaya 9.53 when an element with id attribute is copied and pasted in 
normal view, the id is increased, but not always in the same way.

If an element is copied and pasted several times, the counter increases 
as expected. For example, if the user copies the following p element
	<p id="Test">Test</p>
and pastes it several times, Amaya creates the following source code:
	<p id="Test">Test</p>
	<p id="Test1">Test</p>
	<p id="Test2">Test</p>
	<p id="Test3">Test</p>
	<p id="Test4">Test</p>
	<p id="Test5">Test</p>

But if the user copies and paste the first paragraph, and then copies 
and pastes the second paragraph, and then copies and pastes the third 
paragraph, Amaya creates the following source code:
	<p id="Test">Test</p>
	<p id="Test1">Test</p>
	<p id="Test11">Test</p>
	<p id="Test111">Test</p>
	<p id="Test1111">Test</p>
	<p id="Test11111">Test</p>

It would be nice if Amaya would always increase the id in the same way 
(the first one, of course).

Best regards,
Bartolomé Sintes (http://www.mclibre.org)
Received on Wednesday, 22 November 2006 09:06:29 UTC

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