<?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>25225</bug_id>
          
          <creation_ts>2009-04-15 17:24:42 -0700</creation_ts>
          <short_desc>getBBox() (implemented with objectBoundingBox()) is often wrong</short_desc>
          <delta_ts>2010-07-02 00:17:19 -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>Mac</rep_platform>
          <op_sys>OS X 10.5</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>
          <dependson>25224</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>krit</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>117700</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-04-15 17:24:42 -0700</bug_when>
    <thetext>getBBox() (implemented with objectBoundingBox()) is often wrong

RenderSVGTSpan has an empty implementation.  RenderForeignObject returns the borderBox() which, although un-spec&apos;d, is correct according to Doug and Erik in #svg.  They may yet issue an Errata to cover the issue.

I&apos;m sure other SVG renderers are missing proper objectBoundingBox() implementations (which will show up as ASSERTs in debug mode when viewing the right SVGs, or when calling getBBox() on the right elements).  This bug tracks fixing all these and landing a test case testing getBBox() on various SVG elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245785</commentid>
    <comment_count>1</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2010-07-02 00:17:19 -0700</bug_when>
    <thetext>Fixed in trunk. Closing bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>