Re: Empty DIVs

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