[Webkit-unassigned] [Bug 15920] New: Safari SVG graphic text and events problems
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 9 06:41:01 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=15920
Summary: Safari SVG graphic text and events problems
Product: WebKit
Version: 523.x (Safari 3)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: abzno1 at gmail.com
I have written code in dojo which creates a svg object. The problem is when
scrolling down to look at the text it does not show up.
Also there is a problem with connect, as it does not function properly I'm
using the safari windows version 3.0.3 (522.15.5).
I have created this code in dojo:
dojo.require("dojox.gfx");
init = function(){
var container = dojo.byId("gfx");
var surface = dojox.gfx.createSurface(container, 500, 500);
var group1 = surface.createGroup();
var a = group1.createRect({x:50, y:50, width:20, height:20});
a.setFill( "gray" );
var b = group1.createText({x:50, y: 50, text: "123", align: "middle"});
b.setFont({family: "Verdana", size: 10, weight: "bold"});
b.setFill("blue");
var c = surface.createRect({x:400, y:400, width:20, height:20});
c.setFill( "gray" );
var d = surface.createText({x:400, y: 400, text: "123", align:
"middle"});
d.setFont({family: "Verdana", size: 10, weight: "bold"});
d.setFill("blue");
dojo.connect(a.getNode(), "onmouseover", function(){
alert("a");
});
dojo.connect(b.getNode(), "onmouseover", function(){
alert("b");
});
dojo.connect(c.getNode(), "onmouseover", function(){
alert("c");
});
dojo.connect(d.getNode(), "onmouseover", function(){
alert("d");
});
};
dojo.addOnLoad(init);
<html> <head> <title>123</title> <script type="text/javascript"
src="dojo/dojo.js"></script>
// insert above javascript here </head> <body>
<div id="gfx" style="overflow: auto; height:300px; width:100%;"></div>
</body> </html>
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list