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

Also, in the meanwhile and if it's not too, it would be fine that <rect> 
and the other shapes were not created as <empty /> tags.
This would take about 50% of the editing effort needed to move text into 
rectangles.
JL

Juan Lanus wrote:

> 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">&lt;html&gt;
>       </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:27:42 UTC