Bug 31514
Summary: | not implemented 'x' and 'y' attribute for tag <use> | ||
---|---|---|---|
Product: | WebKit | Reporter: | Konstantin Kokarev <nwtour> |
Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
Status: | CLOSED DUPLICATE | ||
Severity: | Normal | CC: | krit |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Linux |
Konstantin Kokarev
all 'used' objects only with 0,0 coordinate
example:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="10cm" height="3cm" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs><rect id="test" width="10" height="10" /></defs>
<use x="10" y="10" xlink:href="#test" />
<use x="10" y="30" xlink:href="#test" />
<use x="10" y="50" xlink:href="#test" />
</svg>
see also:
http://www.w3.org/TR/SVG11/struct.html#UseElement
example: http://www.w3.org/TR/SVG11/images/struct/Use01.svg
should be: http://www.w3.org/TR/SVG11/images/struct/Use01.png
linux, webkit night build (r50918), midori browser.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Konstantin Kokarev
http://www.w3.org/TR/SVG11/images/struct/Use01.svg:
passed = rectangle in center, failed = top-left
-----------------------------
midori (webkitgtk) - failed
chromium (webkitgtk) - failed
arora (libqtwebkit) - passed
konqueror + webkitpart (libqtwebkit) - failed
qt demo browser (libqtwebkit) - passed
-----------------------------
firefox (gecko) - passed
epiphany (gecko) - passed
opera (opera) - passed
konqueror(khtml) - passed
qt demo svgviewer (libqtsvg) - passed
Dirk Schulze
x and y are implemented. It's a problem of system local, use LANG="C" and you'll see that it works.
*** This bug has been marked as a duplicate of bug 30342 ***
Konstantin Kokarev
It`s work. Thanks.