<?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>6025</bug_id>
          
          <creation_ts>2005-12-09 14:23:19 -0800</creation_ts>
          <short_desc>CDF example renders SVG on top of text</short_desc>
          <delta_ts>2006-01-29 06:40:37 -0800</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>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></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="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Eric Seidel (no email)">eric</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>25752</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2005-12-09 14:23:19 -0800</bug_when>
    <thetext>CDF example renders SVG on top of text

See attached test case (already landed under LayoutTests/svg/custom/simpleCDF.xml).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25753</commentid>
    <comment_count>1</comment_count>
      <attachid>5013</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2005-12-09 14:24:04 -0800</bug_when>
    <thetext>Created attachment 5013
Simple cdf example</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25754</commentid>
    <comment_count>2</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2005-12-09 14:25:25 -0800</bug_when>
    <thetext>My guess would be that you need to implement baselinePosition and lineHeight on &lt;svg&gt; as is done with 
images.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25905</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2005-12-13 03:45:19 -0800</bug_when>
    <thetext>Yes, hyatt&apos;s suggestion does fix the bug.  However, now I&apos;m seeing my svgs being translated manually 
using m_x and m_y in the svg error cases (where &lt;svg&gt; is embedded inside a &lt;body&gt; element right after 
some &lt;h3&gt; and &lt;p&gt; text elements).  Those are causing me to hit asserts... which I&apos;m not quite sure what 
to do with yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30188</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-26 15:48:22 -0800</bug_when>
    <thetext>This is our most basic CDF issue.  This is also one which is very well understood and shoudn&apos;t take very long to solve.  We would not want to ship WebKit SVG support w/o this CDF issue solved.  Bumping to p2, and adding SVGHitList keyword.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30399</commentid>
    <comment_count>5</comment_count>
      <attachid>6044</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-28 04:50:22 -0800</bug_when>
    <thetext>Created attachment 6044
proposed patch

Simple fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30426</commentid>
    <comment_count>6</comment_count>
      <attachid>6044</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-01-28 16:49:55 -0800</bug_when>
    <thetext>Comment on attachment 6044
proposed patch

Generally we put spaces around &quot;=&quot; as in:

    isRootLineBox=false

I&apos;d rather see C++ casts, like static_cast, then C-style casts in this code.

Since virtual function calls are never inlined, it&apos;s usually best to put the implementations of virtual functions in a .cpp file rather than a header.

Is there a test that goes with this?

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30435</commentid>
    <comment_count>7</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-28 17:17:20 -0800</bug_when>
    <thetext>Fixed.

This is already covered by svg/custom/simpleCDF.xml</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30505</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-29 06:40:37 -0800</bug_when>
    <thetext>Fixed in r12454.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>5013</attachid>
            <date>2005-12-09 14:24:04 -0800</date>
            <delta_ts>2005-12-09 14:24:04 -0800</delta_ts>
            <desc>Simple cdf example</desc>
            <filename>simpleCDF.xml</filename>
            <type>application/xml</type>
            <size>393</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxodG1sIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5
L3hodG1sIj4KPGhlYWQ+Cjx0aXRsZT5YSFRNTCArIFNWRyBUZXN0PC90aXRsZT4KPC9oZWFkPgo8
Ym9keT4KPHA+VGhpcyBpcyBhIHRlc3Qgb2YgQ0RGOjwvcD4KPHN2ZyB4bWxucz0iaHR0cDovL3d3
dy53My5vcmcvMjAwMC9zdmciIAogICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8x
OTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CjxyZWN0IHg9IjAiIHk9IjAiIHdp
ZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJibHVlIiAvPgo8L3N2Zz4KPHA+WW91IHNob3Vs
ZCBzZWUgYW4gU1ZHIGltYWdlIGFib3ZlIHRoaXMhPC9wPgo8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>6044</attachid>
            <date>2006-01-28 04:50:22 -0800</date>
            <delta_ts>2006-01-28 16:49:55 -0800</delta_ts>
            <desc>proposed patch</desc>
            <filename>cdf.patch</filename>
            <type>text/plain</type>
            <size>1475</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">SW5kZXg6IGtjYW52YXMvZGV2aWNlL3F1YXJ0ei9LQ2FudmFzSXRlbVF1YXJ0ei5oCj09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT0KLS0tIGtjYW52YXMvZGV2aWNlL3F1YXJ0ei9LQ2FudmFzSXRlbVF1YXJ0ei5oCShyZXZpc2lv
biAxMjQyMikKKysrIGtjYW52YXMvZGV2aWNlL3F1YXJ0ei9LQ2FudmFzSXRlbVF1YXJ0ei5oCSh3
b3JraW5nIGNvcHkpCkBAIC0zOCw2ICszOCw5IEBAIHB1YmxpYzoKICAgICB2aXJ0dWFsIEludFJl
Y3QgZ2V0QWJzb2x1dGVSZXBhaW50UmVjdCgpOwogICAgIAogICAgIHZpcnR1YWwgYm9vbCByZXF1
aXJlc0xheWVyKCkgeyByZXR1cm4gZmFsc2U7IH0KKyAgICB2aXJ0dWFsIHNob3J0IGxpbmVIZWln
aHQoYm9vbCBiLCBib29sIGlzUm9vdExpbmVCb3g9ZmFsc2UpIGNvbnN0IHsgcmV0dXJuIChzaG9y
dCliYm94Rm9yUGF0aCh0cnVlKS5oZWlnaHQoKTsgfQorICAgIHZpcnR1YWwgc2hvcnQgYmFzZWxp
bmVQb3NpdGlvbihib29sIGIsIGJvb2wgaXNSb290TGluZUJveD1mYWxzZSkgY29uc3QgeyByZXR1
cm4gKHNob3J0KWJib3hGb3JQYXRoKHRydWUpLmhlaWdodCgpOyB9CisgICAgCiAgICAgdmlydHVh
bCB2b2lkIGxheW91dCgpOwogICAgIHZpcnR1YWwgdm9pZCBwYWludChQYWludEluZm8mLCBpbnQg
cGFyZW50WCwgaW50IHBhcmVudFkpOwogICAgIHZpcnR1YWwgYm9vbCBub2RlQXRQb2ludChOb2Rl
SW5mbyYsIGludCB4LCBpbnQgeSwgaW50IHR4LCBpbnQgdHksIFdlYkNvcmU6OkhpdFRlc3RBY3Rp
b24pOwpJbmRleDoga2NhbnZhcy9kZXZpY2UvcXVhcnR6L0tDYW52YXNSZXNvdXJjZXNRdWFydHou
aAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09Ci0tLSBrY2FudmFzL2RldmljZS9xdWFydHovS0NhbnZhc1Jlc291cmNlc1F1
YXJ0ei5oCShyZXZpc2lvbiAxMjQyMikKKysrIGtjYW52YXMvZGV2aWNlL3F1YXJ0ei9LQ2FudmFz
UmVzb3VyY2VzUXVhcnR6LmgJKHdvcmtpbmcgY29weSkKQEAgLTM5LDYgKzM5LDggQEAgcHVibGlj
OgogICAgIAogICAgIHZpcnR1YWwgYm9vbCByZXF1aXJlc0xheWVyKCkgeyByZXR1cm4gZmFsc2U7
IH0KICAgICB2aXJ0dWFsIHZvaWQgY2FsY01pbk1heFdpZHRoKCk7CisgICAgdmlydHVhbCBzaG9y
dCBsaW5lSGVpZ2h0KGJvb2wgYiwgYm9vbCBpc1Jvb3RMaW5lQm94PWZhbHNlKSBjb25zdCB7IHJl
dHVybiBoZWlnaHQoKTsgfQorICAgIHZpcnR1YWwgc2hvcnQgYmFzZWxpbmVQb3NpdGlvbihib29s
IGIsIGJvb2wgaXNSb290TGluZUJveD1mYWxzZSkgY29uc3QgeyByZXR1cm4gaGVpZ2h0KCk7IH0K
ICAgICB2aXJ0dWFsIHZvaWQgbGF5b3V0KCk7CiAgICAgdmlydHVhbCB2b2lkIHBhaW50KFBhaW50
SW5mbyAmcGFpbnRJbmZvLCBpbnQgcGFyZW50WCwgaW50IHBhcmVudFkpOwogICAgIAo=
</data>
<flag name="review"
          id="1442"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>