W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2001

Re: Empty DIVs

From: Walter Bächi <wbaechi@webshuttle.ch>
Date: Wed, 04 Jul 2001 10:52:19 +0200
Message-ID: <3B42D943.2050300@webshuttle.ch>
To: www-amaya@w3.org
Hi Vincent

Vincent Quint wrote:

> Thanks for the bug report, Walter.
> 
> What happens is that, when you insert a DIV, Amaya creates the DIV, plus
> an empty element, some kind of place holder, as a child of the DIV, and
> it selects that empty element. If you look at the status bar, at the
> bottom of the window, you will see "Element \ div \ ..." 

That's right, I did not realize that. Thanks, Vincent.

> If you create an
> attribute at this time, the attribute is associated with the selected
> element, i.e. the empty element. Amaya is wrong: it should not allow you
> to create an attribute there. This bug is fixed now, just on time for the
> new release.

Eagerly waiting .... ;-)

> 
> 
> Vincent.
> 
> Walter Bächi wrote:
> 
>> Hi all
>> There seems to be a bug in Amaya 4.3.2 (using XHTML) regarding empty DIVs:
>> When I insert a DIV, select it, and add an attribute, eg. a class, and 
>> save it, Amaya produces:
>> [...]
>> 
>> class="xxx"</div>
>> 
>> [...]
> 
Regards

--
Walter Bächi
wbaechi@acm.org
Received on Wednesday, 4 July 2001 04:49:46 UTC

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