This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6262 - Problems transforming definition lists
Summary: Problems transforming definition lists
Status: RESOLVED FIXED
Alias: None
Product: Amaya
Classification: Unclassified
Component: Editing (show other bugs)
Version: 10.1-pre5
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Vatton
QA Contact: Vatton
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 20:15 UTC by Bartolom
Modified: 2008-12-05 15:05 UTC (History)
5 users (show)

See Also:


Attachments

Description Bartolom 2008-12-02 20:15:32 UTC
Amaya 10.1-pre5 WinXP has some problems transforming lists:

A. A definition list can be transformed into an ordered list containing
sublists, but an ordered list containing sublists is not properly
transforned into a definiton list:

Steps to reproduce:
1. Create the following list:
<dl>
   <dt>Item 1</dt>
     <dd>Item 1-1</dd>
     <dd>Item 1-2</dd>
</dl>
2. Select this list and click the unordered list button. The following
list is created (as expected):
<ul>
   <li>Item 1
     <ul>
       <li>Item 1-1</li>
       <li>Item 1-2</li>
     </ul>
   </li>
</ul>
3. Select this list and click the definition list button. The following
list is created:
<dl>
   <dt>Item 1 </dt>
     <dd>Item aItem bItem c</dd>
</dl>
The sublist items are merged in a dd element, instead of creating two dd
elements.

B. A dd element can be transformed into a dt element, but a dt element 
can not be transformed into a dd element:

Steps to reproduce:
1. Create the following list:
<dl>
   <dt>Item 1</dt>
     <dd>Item a</dd>
</dl>
2. Select the dd element and click the dt button. The following list is 
created (as expected):
<dl>
   <dt>Item 1</dt>
   <dt>Item a</dt>
</dl>
3. Select the second dt element and click the dd button. Nothing happens.

C. The Tools > Transform menu does not offer any applicable 
transformation if a dt or a dd element is chosen. I suggest it could 
offer transform a dt into a dd element (and a dd into a dt).
Comment 1 Vatton 2008-12-05 15:05:26 UTC
Transformations <dd> into <dt> and <dt> into <dd> are now available in the CVS version when the user clicks on <dd> and <dt> buttons even if the Tools > Transform menu does not list these transformations.