[Webkit-unassigned] [Bug 26380] SVG Filters and big sized filterRegions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 10 12:42:03 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=26380





--- Comment #27 from Dirk Schulze <krit at webkit.org>  2009-11-10 12:42:02 PDT ---
(In reply to comment #26)
> (In reply to comment #25)
> > Try xhtml with mixed SVG and HTML. <object> is different.
> 
> Don't we just support embeding svg into html with either <object>, <img> or
> <embed>?

Sorry. I noticed, that there is a difference, if I name the file with .xml or
.html :-P Here the exmaple:

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body id="body">
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
    <defs>
        <linearGradient id="gradient" gradientUnits="objectBoundingBox"
                            x1="0" y1="0" x2="1" y2="1">
            <stop offset="0" stop-color="green" />
            <stop offset="0.01" stop-color="red" />
        </linearGradient>
        <filter id="filter">
            <feOffset/>
        </filter>
    </defs>
    <g>
        <rect x="0" y="0" width="5000" height="5000"
style="fill:url(#gradient);filter:url(#filter);"/>
    </g>
</svg>
</body>
</html>

The viewport is now the visible area of the window and changes with resizing
the window.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list