<?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>41603</bug_id>
          
          <creation_ts>2010-07-05 04:06:53 -0700</creation_ts>
          <short_desc>Incorrect pattern tilling</short_desc>
          <delta_ts>2010-08-19 04:55:50 -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>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>41396</dup_id>
          
          <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>0</everconfirmed>
          <reporter>rspierer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>246564</commentid>
    <comment_count>0</comment_count>
      <attachid>60509</attachid>
    <who name="">rspierer</who>
    <bug_when>2010-07-05 04:06:53 -0700</bug_when>
    <thetext>Created attachment 60509
test case

The interior of the ellipse is empty. In Opera 10.60 there is a black circle in the middle of the ellipse.

According to my interpretation of section 13.3 from the SVG 1.1 (Second Edition) specification the pattern element defines a reference rectangle (the pattern tile) whose origin and dimensions are determined by the attributes x, y, width and height in the coordinate system specified by patternUnits. If there is no viewBox attribute, then the coordinates of the elements inside the pattern element are relative to the origin of the pattern tile:

&quot;The contents of the ‘pattern’ are relative to a new coordinate system. ... If there is no ‘viewBox’ attribute, then the new coordinate system has its origin at (x, y), where x is established by the ‘x’ attribute on the ‘pattern’ element, and y is established by the ‘y’ attribute on the ‘pattern’ element.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>266653</commentid>
    <comment_count>1</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2010-08-19 04:55:50 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 41396 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>60509</attachid>
            <date>2010-07-05 04:06:53 -0700</date>
            <delta_ts>2010-07-05 04:06:53 -0700</delta_ts>
            <desc>test case</desc>
            <filename>WebKit bug 4.svg</filename>
            <type>image/svg+xml</type>
            <size>301</size>
            <attacher>rspierer</attacher>
            
              <data encoding="base64">PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciDQogICAgIHhtbG5zOnhsaW5r
PSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4NCg0KPGRlZnM+DQogPHBhdHRlcm4gaWQ9
ImRvdCIgd2lkdGg9IjEiIGhlaWdodD0iMSI+DQogIDxjaXJjbGUgY3g9IjIwIiBjeT0iNTAiIHI9
IjEwIiBmaWxsPSJibGFjayIgLz4NCiA8L3BhdHRlcm4+DQo8L2RlZnM+DQoNCjxlbGxpcHNlIGN4
PSIyMDAiIGN5PSIyMDAiIHJ4PSIyMCIgcnk9IjUwIiBmaWxsPSJ1cmwoI2RvdCkiIHN0cm9rZT0i
Z3JheSIgLz4NCjwvc3ZnPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>