» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with SVG + Firefox

Pencil extension to Firefox

a free and opensource tool for making diagrams and GUI prototyping that everyone can use

Firefox: del.icio.us/tag/firefox

Mozilla SVG Project

The Mozilla SVG implementation is a native SVG implementation. This is as opposed to plug-in SVG viewers such as the Adobe viewer (which is currently the most popular SVG viewer).

Firefox: del.icio.us/tag/firefox

Ten XML Schemas you should know

XML schemas that provide solutions for all sorts of problems, from the basics of Web services to data description.

XForms: del.icio.us/tag/XForms

Ten XML Schemas you should know

XML schemas that provide solutions for all sorts of problems, from the basics of Web services to data description.

XML: del.icio.us/tag/xml

-- SVGdraw --

SVGdraw est une petite application web riche XUL de génération de SVG.

XUL: del.icio.us/tag/XUL

-- SVGdraw --

SVGdraw est une petite application web riche XUL de génération de SVG.

Firefox: del.icio.us/tag/firefox

Well, I'm Back: Applying SVG Effects To HTML Content

Wow, with this, Firefox could pretty much nullify much of the sex appeal advantages of Adobe AIR for RIAs

RIA: del.icio.us/tag/RIA

Mozilla Experiments with Applying SVG Effects to HTML

It seems so obvious once you think about it, but Rob O'Callahan from Mozilla took us by surprise in his blog post demonstrating his experimental branch of Gecko that allows you to apply SVG effects to HTML.

SVG filters applied to HTML content

The code for applying the effects above follows:

XML:
  1.  
  2. <html xmlns="http://www.w3.org/1999/xhtml"
  3.       xmlns:svg="http://www.w3.org/2000/svg">
  4. <body style="background:#ccc; font-size:30px;">
  5.   <style>
  6.     p { width:300px; border:1px solid black; display:inline-block; margin:1em; }
  7.     iframe { width:300px; height:300px; border:none; }
  8.     b { outline:1px dotted blue; }
  9.   </style>
  10.   <p class="target" style="background:lime;">
  11.     Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt
  12.     ut labore et dolore magna aliqua. Ut enim ad minim veniam.</p>
  13.   <iframe class="target" src="http://mozilla.org"/>
  14.   <p>Lorem ipsum dolor sit amet, consectetur adipisicing
  15.     <b class="target">elit, sed do eiusmod tempor incididunt
  16.     ut labore et dolore magna aliqua.</b> Ut enim ad minim veniam.</p>
  17.  
  18.   <style>.target { clip-path: url(#c1); }</style>
  19.   <svg :svg height="0">
  20.     </svg><svg :mask id="m1" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox">
  21.       </svg><svg :linearGradient id="g" gradientUnits="objectBoundingBox" x2="0" y2="1">
  22.         <svg :stop stop-color="white" offset="0"/>
  23.         <svg :stop stop-color="white" stop-opacity="0" offset="1"/>
  24.       </svg>
  25.       <svg :circle cx="0.25" cy="0.25" r="0.25" id="circle" fill="white"/>
  26.       <svg :rect x="0.5" y="0.2" width="0.5" height="0.8" fill="url(#g)"/>
  27. </body>
  28. </html>

Rob makes a bunch of good points, such as:

CSS isn't really up to the task [of applying advanced visual effects to HTML]. One problem is that CSS isn't good at manipulating structured values like shapes and filter processing stacks; they're cumbersome to write in CSS expression syntax, or else they require new custom CSS syntax (e.g. @-rules), and there's no standard DOM to let scripts manipulate components of these structured values. Another issue is that we should try to avoid duplicating specification and implementation of complex features.

Contrast that with SVG, which long ago dealt with spec'ing out fancy-pants effects in mark-up and interfacing with JavaScript APIs. In fact, Rob ends his piece with a little snubby-snubby to Flash and Silverlight based both on SVG's status as a standard and its nice integration with page markup:

A nice side effect of providing better SVG-HTML integration is that it gives SVG a leg up on the Web. You can't do these effects using Flash or Silverlight, and since they're not standards they probably won't ever be invited to this party.

Unlike WebKit's shiny new CSS stuff, you can't just yet get a build of this stuff in Gecko:

I'm making tryserver builds right now, and I'll update this post with a link when they're ready. Here's a link to my Mercurial repository.

But it looks like builds are forthcoming. Hats off to Rob for putting together such a cool proof-of-concept.

Ajax: Ajaxian

Page 1 | Next >>