bug: Amaya 10.1-pre4 attaches the container's class to an inner new element

Hi again  :-)

In the small document listed below select the three paragraphs (eventually
touching Esc to select them in full) and transform into a bullet list with
^h ^L or the tools menu.

Now it has two boxes: the newly created <ol> is applied the class of the
enclosing <div> which is not what I expected.

Saludos!
--
Juan Lanus





<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
      "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
  <title>New</title>
  <meta name="generator" content="Amaya, see http://www.w3.org/Amaya/">
  <style>
    .msgToSelf {
      border: 1px solid gray;
      background-color: yellow;
      padding-left: 2px;
      padding-right: 2px;
    }
  </style>
</head>

<body>
<h1>transform test</h1>

<div class="msgToSelf">
<p>First element</p>

<p>Second element</p>

<p>Third element</p>
</div>
</body>
</html>

Received on Sunday, 31 August 2008 17:31:50 UTC