W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2003

Re: SVG box sizes appear bigger than size defines with mouse

From: Juan Lanus <jlanus@netscape.net>
Date: Tue, 16 Sep 2003 08:11:40 -0300
Message-ID: <3F66EFEC.30008@netscape.net>
To: Irene Vatton <irene.vatton@inrialpes.fr>
Cc: www-amaya@w3.org
Irene Vatton wrote:

>I fixed a similar crash. Could you send me a scenario that shows the bug, 
>so I can test it's effectively fixed.
>  
>
<?xml version="1.0" encoding="iso-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <title>No title</title>
</head>

<body>
<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="759px"
     height="271px">
  <rect stroke="black" fill="none" y="42px" x="50px" width="395px"
        height="112px">
    <switch>
      <foreignObject requiredExtensions="http://www.w3.org/1999/xhtml"
                     width="183px" height="61px" y="71px" x="114px">

        <div xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
        <p>erertertergd dfgdfg t fgfdgfgdrt drg rtg fgj yfj fghfg fgh
        fghfg</p>
        </div>
      </foreignObject>
      <text y="71px" x="114px"><html>
      </text>
    </switch>
  </rect>
</svg>
</body>
</html>

In a new XHTML 1.1 doc in Win2K Pro I did:

   1. add a rectangle
   2. add a text box
   3. write some text into the text box
   4. view source
   5. make the <rect> non-empty
   6. move the <switch> into the <rect> just brfore </rect> with cut and
      paste (seleted lines by dragging over the line numbers)
   7. synchronized from source to normal view
   8. crash!

Juan Lanus
TECNOSOL
Argentina
Received on Tuesday, 16 September 2003 07:10:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:42 UTC