<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Graphic bits &#187; SVG</title>
	<atom:link href="http://blog.mozilla.com/nattokirai/category/svg/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/nattokirai</link>
	<description>random things about fonts and graphics in Mozilla</description>
	<lastBuildDate>Thu, 11 Aug 2011 08:13:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Fiddling with foreign objects</title>
		<link>http://blog.mozilla.com/nattokirai/2007/11/14/fiddling-with-foreign-objects/</link>
		<comments>http://blog.mozilla.com/nattokirai/2007/11/14/fiddling-with-foreign-objects/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 08:32:21 +0000</pubDate>
		<dc:creator>John Daggett</dc:creator>
				<category><![CDATA[SVG]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/nattokirai/2007/11/14/fiddling-with-foreign-objects/</guid>
		<description><![CDATA[As part of a talk I did down at Kansai Open Forum in Osaka last week, I played around with ways to use the SVG foreignObject tag and came up with this quick header menu example (note: requires a FF3 build). The example shows two svg graphics, one for each language menu, with some rotated [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://people.mozilla.com/~jdaggett/kofosaka/demos/svgmenu.xhtml"><img src="http://blog.mozilla.com/nattokirai/files/2007/11/svgmenu-small.png" alt="Menus with SVG foreign objects" title="svgmenu-small" width="476" height="245" class="alignnone size-full wp-image-5" /></a></p>
<p>As part of a talk I did down at Kansai Open Forum in Osaka last week, I played around with ways to use the SVG foreignObject tag and came up with this quick <a href="http://people.mozilla.com/~jdaggett/kofosaka/demos/svgmenu.xhtml">header menu example</a> (note: requires a FF3 build).  The example shows two svg graphics, one for each language menu, with some rotated foreignObject elements enclosing HTML anchor tags.  A bit silly since SVG has its own anchor tag but for those who feel more comfortable working with HTML layout it&#8217;s an easy way to get interesting rotated layouts.  Others like Mark Finkle have <a href="http://starkravingfinkle.org/blog/2007/07/firefox-3-svg-foreignobject/">blogged</a> about this before but I wanted to explore the types of situations where this might be useful.</p>
<p>Note: the Webkit folks have proposed some interesting additions to CSS to allow for <a href="http://lists.w3.org/Archives/Public/www-style/2007Nov/0080.html">transformations</a> with which you wouldn&#8217;t need SVG foreignObject&#8217;s lay out elements like this.</p>
<p>P.S. Who knew that CSS stood for &#8220;Combat Service Support&#8221;?!?  Oy vey&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/nattokirai/2007/11/14/fiddling-with-foreign-objects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

