<?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>15124</bug_id>
          
          <creation_ts>2007-08-31 09:48:52 -0700</creation_ts>
          <short_desc>mask images are not updated when render objects&apos; bounds change</short_desc>
          <delta_ts>2010-07-27 03:22:07 -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>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>43031</dup_id>
          
          <bug_file_loc>https://bugzilla.mozilla.org/show_bug.cgi?id=394463</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>14639</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="jay">jay</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1101</commentid>
    <comment_count>0</comment_count>
    <who name="jay">jay</who>
    <bug_when>2007-08-31 09:48:52 -0700</bug_when>
    <thetext>the white hole reveals text. when the window is resized the hole does not
change size, until the page is refreshed.

the white hole should resize as the window is changed by the user:

graphics within a viewbox normally maintain scale as the window is resized.

this is demonstrated in the attachment by a black circle which changes size as
the window is resized by the user.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1094</commentid>
    <comment_count>1</comment_count>
      <attachid>16170</attachid>
    <who name="jay">jay</who>
    <bug_when>2007-08-31 09:49:58 -0700</bug_when>
    <thetext>Created attachment 16170
demo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57104</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-09-26 12:27:19 -0700</bug_when>
    <thetext>I&apos;ve created a simpler test (which doesn&apos;t use &lt;use&gt;) which I&apos;ll attach shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57105</commentid>
    <comment_count>3</comment_count>
      <attachid>16401</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-09-26 12:28:00 -0700</bug_when>
    <thetext>Created attachment 16401
simpler test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65387</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-12-27 02:36:13 -0800</bug_when>
    <thetext>My simpler test seems to pass in TOT, but I&apos;m not sure if it&apos;s fully correct.  The original &quot;demo&quot; fails.  I think there was a %-sized &lt;use&gt; regression in TOT which is tracked by a separate bug.  Yes, bug 14639.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172396</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-12-16 10:48:53 -0800</bug_when>
    <thetext>Seems to work now?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172490</commentid>
    <comment_count>6</comment_count>
    <who name="jay">jay</who>
    <bug_when>2009-12-16 13:11:52 -0800</bug_when>
    <thetext>5 Simon,

unfortunately this is comprehensively broken..
on OS X please try the original demo...

neither example scales any longer...
the point being the mask has to scale
compare opera/mozilla

evidently if neither the object nor mask scale one cannot check this bug...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172504</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-12-16 13:22:32 -0800</bug_when>
    <thetext>Using a current nightly build, I did not see obvious issues with either test case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172644</commentid>
    <comment_count>8</comment_count>
    <who name="jay">jay</who>
    <bug_when>2009-12-16 22:47:43 -0800</bug_when>
    <thetext>simon

are you using os x? if so intel or ppc?

what did you observe?

ie have you compared results when resizing window with mozilla and opera?

using os x with ppc and the latest nightly build:

the simpler test does not resize

the demo test  mask is offset

please confirm your observations using ppc or intel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172786</commentid>
    <comment_count>9</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-12-17 08:18:25 -0800</bug_when>
    <thetext>The simpler test says &quot;you should only ever see green&quot;, and I see just green. Nothing resizes when I resize the window.

It&apos;s totally unclear what the &apos;demo&apos; test should look like, but I do see one big black circle towards the left, which does not coincide with the white circle with text in.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172848</commentid>
    <comment_count>10</comment_count>
    <who name="jay">jay</who>
    <bug_when>2009-12-17 10:25:02 -0800</bug_when>
    <thetext>Simon,

please read the reduced test case code and understand a bug description before commenting....

the code would show you that the size is set as a percentage.
this means it should scale or resize relative to the window.
at the time the simpler test case was created it did, 
there is a regression bug, possibly filed, by me regarding this aspect.

the simplest way to check whether there is a bug when unsure is as suggested in previous comments to check with a standards compliant browser such as opera or mozilla in this instance.

naturally webkit is referred to in other bugs at mozilla and opera in some cases.

Obviously in some instances it is necessary to take the difference to the working group for adjudication, but not in this case afaik.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256488</commentid>
    <comment_count>11</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2010-07-27 03:22:07 -0700</bug_when>
    <thetext>Will be fixed with bug 43031.

*** This bug has been marked as a duplicate of bug 43031 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>16170</attachid>
            <date>2007-08-31 09:49:58 -0700</date>
            <delta_ts>2007-09-26 12:28:00 -0700</delta_ts>
            <desc>demo</desc>
            <filename>UseMaskHole.svg</filename>
            <type>image/svg+xml</type>
            <size>974</size>
            <attacher name="jay">jay</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iSVNPLTg4NTktMSIgc3RhbmRhbG9uZT0ibm8i
Pz4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMjAwMTA5MDQvL0VOIg0K
ICAgICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEw
LmR0ZCI+DQo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyINCiAgICAgeG1s
bnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiID4KPGRlZnM+CjxzeW1ib2wg
aWQ9Im15Q2lyY2xlIiB2aWV3Qm94PSIwIDAgMTUwIDE1MCIgPgo8Y2lyY2xlIGN4PSI3NSIgY3k9
Ijc1IiByPSI3NSIgZmlsbD0iYmxhY2siICAgLz4KPC9zeW1ib2w+Cgo8bWFzayBpZD0ibXltYXNr
IiB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBtYXNrVW5pdHM9InVzZXJT
cGFjZU9uVXNlIiA+CjwhLS0gYmxhY2sgPT4gdHJhbnNwYXJlbnQsIHdoaXRlID0+IDEwMCUgdmlz
aWJsZSAtLT4KPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmls
bD0id2hpdGUiIC8+Cjx1c2UgeGxpbms6aHJlZj0iI215Q2lyY2xlIiB4PSIyNzUiIHk9IjAiIC8+
IDwhLS0gYm90dG9tICJtYXNrIGxheWVyIiAtLT4KPC9tYXNrPgoKPC9kZWZzPgo8YSB4bGluazpo
cmVmPSJodHRwOi8vd3d3LnBlZXBvLmNvLnVrIj4KPHRleHQgeD0iMCIgeT0iNDAwIiBmb250LXNp
emU9IjQwMCIgPlRFU1Q8L3RleHQ+Cjx0ZXh0IHg9IjAiIHk9IjkwMCIgZm9udC1zaXplPSI0MDAi
ID5URVNUPC90ZXh0Pgo8L2E+CiAgIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWln
aHQ9IjEwMCUiIGZpbGw9IiNhNjAiIHBvaW50ZXItZXZlbnRzPSJub25lIiBtYXNrPSJ1cmwoI215
bWFzaykiLz4KPHVzZSB4bGluazpocmVmPSIjbXlDaXJjbGUiIHg9Ii0yNzUiIHk9IjAiIC8+IAo8
L3N2Zz4=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>16401</attachid>
            <date>2007-09-26 12:28:00 -0700</date>
            <delta_ts>2007-09-26 12:28:00 -0700</delta_ts>
            <desc>simpler test case</desc>
            <filename>clip.svg</filename>
            <type>image/svg+xml</type>
            <size>460</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICAgeG1sbnM6eGxpbms9
Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiID4KICA8bWFzayBpZD0ibXltYXNrIiB4PSIw
IiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIj4KICAgIDxyZWN0IHg9IjAiIHk9IjAi
IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9IndoaXRlIiAvPgogIDwvbWFzaz4KICA8
cmVjdCB4PSIxMCUiIHk9IjEwJSIgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIGZpbGw9InJlZCIg
Lz4KICA8cmVjdCB4PSIxMCUiIHk9IjEwJSIgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIGZpbGw9
ImdyZWVuIiBtYXNrPSJ1cmwoI215bWFzaykiLz4KICA8dGV4dCB4PSIxMCIgeT0iNTUlIj5SZXNp
emUgdGhlIHdpbmRvdywgeW91IHNob3VsZCBvbmx5IGV2ZXIgc2VlIGdyZWVuLjwvdGV4dD4KPC9z
dmc+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>