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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>82487</bug_id>
          
          <creation_ts>2012-03-28 11:12:37 -0700</creation_ts>
          <short_desc>SVG content in tables has sizing problems</short_desc>
          <delta_ts>2014-05-13 08:08:05 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://dbaron.org/log/20110225-blur-radius</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="Stephen Chenney">schenney</reporter>
          <assigned_to name="Philip Rogers">pdr</assigned_to>
          <cc>jchaffraix</cc>
    
    <cc>krit</cc>
    
    <cc>lobais</cc>
    
    <cc>pdr</cc>
    
    <cc>robertc</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>590161</commentid>
    <comment_count>0</comment_count>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2012-03-28 11:12:37 -0700</bug_when>
    <thetext>When svg is placed inside a table with no width and height on the svg element, one would expect it to pull the width and height from the table cell size, possibly modified for a viewbox aspect ratio.

We totally fail on this when no width or height is given for the svg element. See cr119708-no-width-height.html

We get it wrong, but less wrong, when we specify block display. See cr119708-display-block.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>590162</commentid>
    <comment_count>1</comment_count>
      <attachid>134340</attachid>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2012-03-28 11:13:08 -0700</bug_when>
    <thetext>Created attachment 134340
SVG in table with no width height</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>590164</commentid>
    <comment_count>2</comment_count>
      <attachid>134341</attachid>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2012-03-28 11:13:35 -0700</bug_when>
    <thetext>Created attachment 134341
SVG in table with display:block</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>590170</commentid>
    <comment_count>3</comment_count>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2012-03-28 11:15:13 -0700</bug_when>
    <thetext>The behavior for display:block seems to have improved recently (nothing was displayed at all in Chrome 18) but it is still not correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>590899</commentid>
    <comment_count>4</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2012-03-29 00:19:31 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; The behavior for display:block seems to have improved recently (nothing was displayed at all in Chrome 18) but it is still not correct.
Verified, the same in trunk on Mac. A quick FYI: intrinsic sizing + inline SVG is the last TODO item, in the area of intrinsic sizing. Over the last months SVG in &lt;object&gt; / &lt;embed&gt; / &lt;iframe&gt; / &lt;html:img&gt; / &lt;svg:image&gt; and background-image/border-image/mask-image got implemented and now work as desired. Figuring out the correct size in inline SVG is not yet perfect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>712821</commentid>
    <comment_count>5</comment_count>
    <who name="Thomas Dybdahl Ahle">lobais</who>
    <bug_when>2012-09-05 20:27:33 -0700</bug_when>
    <thetext>The two testcases seam to work in Chrome 21.
However this one still doesn&apos;t: http://jsfiddle.net/eLVYJ/
Works fine in Firefox 15.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>718491</commentid>
    <comment_count>6</comment_count>
    <who name="Philip Rogers">pdr</who>
    <bug_when>2012-09-12 10:26:18 -0700</bug_when>
    <thetext>*** Bug 95763 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1008945</commentid>
    <comment_count>7</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2014-05-13 08:08:05 -0700</bug_when>
    <thetext>Fixed! Finally.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>134340</attachid>
            <date>2012-03-28 11:13:08 -0700</date>
            <delta_ts>2012-03-28 11:13:08 -0700</delta_ts>
            <desc>SVG in table with no width height</desc>
            <filename>cr119708-no-width-height.html</filename>
            <type>text/html</type>
            <size>651</size>
            <attacher name="Stephen Chenney">schenney</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxoZWFkPjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQt
VHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04Ij4KPC9oZWFkPgo8Ym9keT4K
PHRhYmxlPgogIDx0cj48dGQ+LS0tLS0tLS0tLS0tLTwvdGQ+PHRkPiMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjPC90ZD48dGQ+LS0tLS0tLS0tLS0tLTwvdGQ+PC90cj4KICA8dHIgc3R5bGU9InBhZGRp
bmc6MHB4O21hcmdpbjowcHg7Ij4KICAgIDx0ZD5CRUZPUkU8L3RkPgogICAgPHRkIHN0eWxlPSJw
YWRkaW5nOjBweDttYXJnaW46MHB4Ij4KICAgICAgPHN2ZyBzdHlsZT0icGFkZGluZzowcHg7bWFy
Z2luOjBweCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2ZXJzaW9uPSIxLjEi
IHZpZXdCb3g9IjAgMCAyMDAgNTAiPgogICAgICAgIDxlbGxpcHNlIGN4PSIxMDAiIGN5PSIyNSIg
cng9IjEwMCIgcnk9IjI1IiBmaWxsPSJncmVlbiIgLz4KICAgICAgPC9zdmc+CiAgICA8L3RkPgog
ICAgPHRkPkFGVEVSPC90ZD4KICA8L3RyPgogIDx0cj48dGQ+LS0tLS0tLS0tLS0tLTwvdGQ+PHRk
PiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjPC90ZD48dGQ+LS0tLS0tLS0tLS0tLTwvdGQ+PC90cj4K
PC90YWJsZT4KPC9ib2R5PjwvaHRtbD4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>134341</attachid>
            <date>2012-03-28 11:13:35 -0700</date>
            <delta_ts>2012-03-28 11:13:35 -0700</delta_ts>
            <desc>SVG in table with display:block</desc>
            <filename>cr119708-display-block.html</filename>
            <type>text/html</type>
            <size>666</size>
            <attacher name="Stephen Chenney">schenney</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxoZWFkPjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQt
VHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04Ij4KPC9oZWFkPgo8Ym9keT4K
PHRhYmxlPgogIDx0cj48dGQ+LS0tLS0tLS0tLS0tLTwvdGQ+PHRkPiMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjPC90ZD48dGQ+LS0tLS0tLS0tLS0tLTwvdGQ+PC90cj4KICA8dHIgc3R5bGU9InBhZGRp
bmc6MHB4O21hcmdpbjowcHg7Ij4KICAgIDx0ZD5CRUZPUkU8L3RkPgogICAgPHRkIHN0eWxlPSJw
YWRkaW5nOjBweDttYXJnaW46MHB4Ij4KICAgICAgPHN2ZyBzdHlsZT0icGFkZGluZzowcHg7bWFy
Z2luOjBweDtkaXNwbGF5OmJsb2NrOyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3Zn
IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyMDAgNTAiPgogICAgICAgIDxlbGxpcHNlIGN4
PSIxMDAiIGN5PSIyNSIgcng9IjEwMCIgcnk9IjI1IiBmaWxsPSJncmVlbiIgLz4KICAgICAgPC9z
dmc+CiAgICA8L3RkPgogICAgPHRkPkFGVEVSPC90ZD4KICA8L3RyPgogIDx0cj48dGQ+LS0tLS0t
LS0tLS0tLTwvdGQ+PHRkPiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjPC90ZD48dGQ+LS0tLS0tLS0t
LS0tLTwvdGQ+PC90cj4KPC90YWJsZT4KPC9ib2R5PjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>