Bug 41603 - Incorrect pattern tilling
Summary: Incorrect pattern tilling
Status: RESOLVED DUPLICATE of bug 41396
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2010-07-05 04:06 PDT by rspierer
Modified: 2010-08-19 04:55 PDT (History)
1 user (show)

See Also:

test case (301 bytes, image/svg+xml)
2010-07-05 04:06 PDT, rspierer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rspierer 2010-07-05 04:06:53 PDT
Created attachment 60509 [details]
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:

"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."
Comment 1 Nikolas Zimmermann 2010-08-19 04:55:50 PDT

*** This bug has been marked as a duplicate of bug 41396 ***