- From: Kevin Ar18 <kevinar18@hotmail.com>
- Date: Mon, 16 Aug 2010 17:44:57 -0400
- CC: <www-svg@w3.org>
- Message-ID: <SNT110-W203965EA82A65D8D1ED65AAA9B0@phx.gbl>
I did some work on a testcase that maybe covers some of the basics. It only deals with svg in html pages right now. There are 3 circles that you click on to run the tests in a browser. Some info based on my understanding THE SVG tag A good way to think about it is an SVG tag is like an div with visibility=none. Just like an invisible div tag, the svg tag can affect flow in an html page. Just like an invisible div tag, the actual svg tag renders nothing onto the screen. Just like an invisible div tag, you can't interact with an svg tag itself (trigger events, context menu, etc...) because nothing is rendered to the screen. The only difference is that the childen of the svg tag can render themselves to the screen. EVENT TRIGGERS Within the SVG namespace, for an SVG element (g, rect, etc...) to be the trigger of an event (the event target), it must exhibit 2 properties: (1) It must be graphical and render to the screen (Only these elments qualify: http://www.w3.org/TR/SVG11/intro.html#TermGraphicsElement) (2) It must not have pointer-events set to none
Attachments
- text/plain attachment: svg_test.xhtml
Received on Monday, 16 August 2010 21:45:31 UTC