SVG in a HTML:table

I have a question about XHTML+SVG when it comes to laying out SVG in a
HTML:table.  Here's my minimal test case.  I'm also going to point
this question at the svg-developers list too:

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="" xml:lang="en" >
  <style type="text/css">* { border-style:solid }</style>
  <table border="1">
        <p>Paragraph One</p>
        <p>Paragraph Two</p>
        <p>Paragraph Three</p>
        <p>Paragraph Four</p>
        <p>Paragraph Five</p>
        <p>Paragraph Six</p>
        <p>Paragraph Seven</p>
        <svg version="1.1" width="40px" height="100%"
xmlns="" >
          <rect x="0" y="0" width="100%" height="100%" fill="red" />

Firefox 1.5, 2 and 3 (latest nightly) consider the <svg> element's
height of 100% to be the height of the browser window.  Opera 9
considers the <svg> element's height of 100% as a static 150 pixels in
this instance (?).  Both seem wrong to me - it seems like the browser
should take 100% to mean the "tallest element in the table's row"
(which would be defined by the seven HTML:p elements in the other

Can someone tell me what the spec states about the file above and what
SHOULD happen?  I can do the browser bug opening, if required...


Received on Tuesday, 2 January 2007 21:45:15 UTC