<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6262</bug_id>
          
          <creation_ts>2008-12-02 20:15:32 +0000</creation_ts>
          <short_desc>Problems transforming definition lists</short_desc>
          <delta_ts>2008-12-05 15:05:26 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Amaya</product>
          <component>Editing</component>
          <version>10.1-pre5</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bartolom">bartolome.sintes</reporter>
          <assigned_to name="Vatton">Irene.Vatton</assigned_to>
          <cc>carcone</cc>
    
    <cc>emilien.kia</cc>
    
    <cc>fred.wang</cc>
    
    <cc>Irene.Vatton</cc>
    
    <cc>vincent.quint</cc>
          
          <qa_contact name="Vatton">Irene.Vatton</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22612</commentid>
    <comment_count>0</comment_count>
    <who name="Bartolom">bartolome.sintes</who>
    <bug_when>2008-12-02 20:15:32 +0000</bug_when>
    <thetext>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:
&lt;dl&gt;
   &lt;dt&gt;Item 1&lt;/dt&gt;
     &lt;dd&gt;Item 1-1&lt;/dd&gt;
     &lt;dd&gt;Item 1-2&lt;/dd&gt;
&lt;/dl&gt;
2. Select this list and click the unordered list button. The following
list is created (as expected):
&lt;ul&gt;
   &lt;li&gt;Item 1
     &lt;ul&gt;
       &lt;li&gt;Item 1-1&lt;/li&gt;
       &lt;li&gt;Item 1-2&lt;/li&gt;
     &lt;/ul&gt;
   &lt;/li&gt;
&lt;/ul&gt;
3. Select this list and click the definition list button. The following
list is created:
&lt;dl&gt;
   &lt;dt&gt;Item 1 &lt;/dt&gt;
     &lt;dd&gt;Item aItem bItem c&lt;/dd&gt;
&lt;/dl&gt;
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:
&lt;dl&gt;
   &lt;dt&gt;Item 1&lt;/dt&gt;
     &lt;dd&gt;Item a&lt;/dd&gt;
&lt;/dl&gt;
2. Select the dd element and click the dt button. The following list is 
created (as expected):
&lt;dl&gt;
   &lt;dt&gt;Item 1&lt;/dt&gt;
   &lt;dt&gt;Item a&lt;/dt&gt;
&lt;/dl&gt;
3. Select the second dt element and click the dd button. Nothing happens.

C. The Tools &gt; 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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22694</commentid>
    <comment_count>1</comment_count>
    <who name="Vatton">Irene.Vatton</who>
    <bug_when>2008-12-05 15:05:26 +0000</bug_when>
    <thetext>Transformations &lt;dd&gt; into &lt;dt&gt; and &lt;dt&gt; into &lt;dd&gt; are now available in the CVS version when the user clicks on &lt;dd&gt; and &lt;dt&gt; buttons even if the Tools &gt; Transform menu does not list these transformations.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>