<?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>103117</bug_id>
          
          <creation_ts>2012-11-23 03:31:16 -0800</creation_ts>
          <short_desc>[mac] REGRESSION: Canvas in SVG foreignObject rendered with the wrong origin/size</short_desc>
          <delta_ts>2025-03-20 21:32:46 -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>Canvas</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.8</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>23113</dup_id>
          
          <bug_file_loc>http://www.peepo.com</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>82147</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="jay">jay</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achicu</cc>
    
    <cc>bfulgham</cc>
    
    <cc>bobpetrie</cc>
    
    <cc>krit</cc>
    
    <cc>mdelaney7</cc>
    
    <cc>mohamedbola38</cc>
    
    <cc>oliver</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>774375</commentid>
    <comment_count>0</comment_count>
      <attachid>175769</attachid>
    <who name="jay">jay</who>
    <bug_when>2012-11-23 03:31:16 -0800</bug_when>
    <thetext>Created attachment 175769
reduced testcase

Safari 5, Opera 12 &amp; Firefox 16 all show a red square, bisected horizontally with top half overpainted green.

Safari 6 and iOS 6 show canvas not scaled and offset.

there is a related problem when this svg file is linked from within html5 document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>774956</commentid>
    <comment_count>1</comment_count>
    <who name="jay">jay</who>
    <bug_when>2012-11-25 00:50:35 -0800</bug_when>
    <thetext>*** Bug 68635 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>775791</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-11-26 12:49:57 -0800</bug_when>
    <thetext>*** Bug 82147 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1004324</commentid>
    <comment_count>3</comment_count>
    <who name="jay">jay</who>
    <bug_when>2014-04-26 00:08:01 -0700</bug_when>
    <thetext>should this be moved to Canvas due to lack of any action?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884920</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-18 15:20:40 -0700</bug_when>
    <thetext>Still broken in Safari 16.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884921</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-18 15:20:51 -0700</bug_when>
    <thetext>&lt;rdar://problem/97223128&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884937</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-07-18 16:02:44 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 23113 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>175769</attachid>
            <date>2012-11-23 03:31:16 -0800</date>
            <delta_ts>2012-11-23 03:31:16 -0800</delta_ts>
            <desc>reduced testcase</desc>
            <filename>canvas_scale.svg</filename>
            <type>image/svg+xml</type>
            <size>1056</size>
            <attacher name="jay">jay</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiIHN0YW5kYWxvbmU9Im5vIj8+IAo8
c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJo
dHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgogICAgeG1sbnM6eGh0bWw9Imh0dHA6Ly93d3cu
dzMub3JnLzE5OTkveGh0bWwiCiAgICB3aWR0aD0iMTAwJSIKICAgIGhlaWdodD0iMTAwJSIKICAg
IHZpZXdCb3g9IjAgMCAxNTAgMTUwIgogICAgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgCiBvbmxvYWQ9
ImRyYXcoKTsiCgo+CiAgICA8dGl0bGU+U1ZHIHVzaW5nIENhbnZhcyB3aXRoIGZvcmVpZ25PYmpl
Y3Q8L3RpdGxlPgogICAgPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KICAgICAgY2FudmFzIHsgYm9y
ZGVyOiAycHggc29saWQgYmxhY2s7IH0KICAgIDwvc3R5bGU+CjxyZWN0IGZpbGw9InJlZCIgd2lk
dGg9IjE1MCIgaGVpZ2h0PSIxNTAiIHg9IjAiIHk9IjAiIC8+CiAgICAgICAgPGZvcmVpZ25PYmpl
Y3Qgd2lkdGg9IjE1MCIgaGVpZ2h0PSIxNTAiID4KICAgICAgICAgICAgPHhodG1sOmNhbnZhcyBp
ZD0ic3F1YXJlIiB3aWR0aD0iMTQwIiBoZWlnaHQ9IjE0MCI+CiAgICAgICAgICAgICAgICBvdXIg
YXBvbG9naWVzLCBtYXAgY29udG91cnMgYXJlIG5vdCBhdmFpbGFibGUgd2l0aCB0aGlzIGJyb3dz
ZXIuCiAgICAgICAgICAgIDwveGh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