Re: 8.53 Bug: Enter key creates P, not new DD

Hi Irčne, Laurent,

Thanks for checking this.

I made an error when I confirmed that the <p> was empty.
The <p> contains the text typed in <dd>.

Steps to reproduce:
(All DocTypes, Amaya 8.54 1st edition, Windows XP)

1. Ctrl+HD to create <dl> and <dt>.
2. Type text in <dt>.
3. Press Enter twice to create <dd>.
4. Type text in <dd>.
5. Move insertion point (the cursor) before the text in <dd>.
6. Press Enter. <p> (containing the text) is created within <dd>.
7. Press Enter. <dd> is created. The <p> is not removed.

Source code, steps 1-6:
<dl>
  <dt>asdf</dt>
    <dd><p>asdf</p></dd>
</dl>

Source code, step 7:
<dl>
  <dt>asdf</dt>
    <dd></dd>
    <dd><p>asdf</p></dd>
</dl>

Expected source code, step 7:
<dl>
  <dt>asdf</dt>
    <dd></dd>
    <dd>asdf</dd>
</dl>

Regards,
Thomas Jedenfelt


---On Thu, 15 Feb 2007 15:07:05 +0100 Irene Vatton wrote:
Sorry, I'm not able to reproduce this bug
Could you send me a short document and a scenario that reproduces it?

Regards
     Irčne.


--- On Thu, 15 Feb 2007 17:29:19 +0100 Laurent Carcone wrote:
I guess Thomas means that when the insertion point is in the middle of a  <dd>, a first Enter creates a <p> that contains the end of the dd, a  second Enter creates an other <dd> but doesn't remove this <p>. 
It's what I saw with the structure view opened.

But I don't know if it easy to fix as a dt/dd structure is more 
difficult to manage than a li.

Thanks,
Laurent Carcone

-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

Powered by Outblaze

Received on Thursday, 15 February 2007 18:08:07 UTC