Slashdot Mirror


Firefox 1.1 Plans Native SVG Support

Spy Hunter writes "The Scalable Vector Graphics format has yet to take off on the web, perhaps due to a small installed base of SVG-enabled browsers. That could soon change as the latest Firefox 1.1 nightly builds have started coming with native SVG support compiled in and enabled by default. If this feature makes into the Firefox 1.1 release (which is not certain, but likely, as the developers want it to happen) it will increase the number of web users who have an SVG renderer installed. But perhaps more interesting than that is the possibility of mixing SVG graphic elements directly into the markup of regular XHTML pages, freeing vector graphics from the small rectangle of a browser plugin and opening up a host of exciting new possibilities for web developers. This is enabled by the integration of SVG directly into the Gecko rendering engine, instead of as a browser plugin. With such a useful web developer feature available only in Firefox, could we soon start seeing websites asking their users to download Firefox to get the best browsing experience?"

25 of 415 comments (clear)

  1. And... the big news by Anonymous Coward · · Score: 5, Funny

    It contains the fix for the rendering of Slashdot's invalid HTML!

    1. Re:And... the big news by Anonymous Coward · · Score: 5, Informative

      CTRL+plus, CTRL+minus (increase font size, decrease font size) corrects the glitch without reloading and, unlike reloading, every time.

  2. Firefox only? not for long... by Anonymous Coward · · Score: 5, Insightful

    could we soon start seeing websites asking their users to download Firefox to get the best browsing experience?"

    No, because IE will adopt a slightly different version of SVG and by virtue of it already containing 80% of the market, will force firefox to display the IE-compatible SVG, and things will be the same as ever before.

    Monopolies, y'know?

  3. Opera by Anonymous Coward · · Score: 5, Interesting

    Opera 8.0 has support for SVG-tiny. The question is - what does SVG full have which SVG tiny does not?

    1. Re:Opera by Slashcrap · · Score: 5, Funny

      Opera 8 already supports native SVG. Firefox is lagging behind yet again.

      No, Opera supports SVGTiny. SVGTiny is to normal SVG as your penis is to everyone elses.

      Hope this helps.

  4. Typical by Anonymous Coward · · Score: 5, Funny

    Now I'm gonna have to go out and buy an SVG Monitor.

  5. You know what's funny by Anonymous Coward · · Score: 5, Insightful

    Had you written this post a year ago, you would've said "90%" of the market. How much you wanna bet it'll be down to 70% or lower in another year?

  6. SVG Support... by geekboy642 · · Score: 5, Insightful

    ...will eventually be widely adopted, but it will be only hours before a spammer uses it to block spam filters--random graphical elements, scattered in the middle of words?

    And you thought cyrillic characters were bad.

    --
    Just another "DOJ fascist authoritarian totalitarian bootlicker" -- Zeio
    1. Re:SVG Support... by Anonymous Coward · · Score: 5, Insightful

      I think you need to read Paul Graham's articles about spam filtering. It doesn't matter what they do, spam still looks like spam. Unless you get a lot of legit mail with "random graphical elements scattered in the middle of words", that will probably be more likely to help your filters than hurt them.

      Esentially, everything they do to make their spam less filterable makes it look less and less like legit mail. The result tends to be that it's either easier to filter or there's no difference at all (e.g., the use of a string of random dictionary words tends to have no effect, since the words are weighted neither 'spammy' nor 'not spammy').

  7. What is SVG? by catisonh · · Score: 5, Interesting

    Can someone explain to me why its better than a jpg?

    --
    This post has been filtered for sanity.
    1. Re:What is SVG? by Creepy+Crawler · · Score: 5, Informative

      ---Why its better than JPEG?

      Well, they're both good for different things.

      JPEGS are simple raster images. A jpeg and a bitmap are one in the same (with jpeg having good compression). Simply, it comes down to this bit is this color, this bit is this color, and this bit is this color. If you magnify raster images, you end up with blurred and horribly pixellated images that have almost no resemblance of the original.

      A SVG (and similar technologies) uses vector graphics. The best way to explain this is thus: Graph a line Y=X on a xy coordinate plane. You end up with a 45 degreee angle. Now, if you were to view a portion between 0 and 10^-100(X) and 0 to 10^-100(y) it's still going to be a line. It's not going to be a stairstep pixelated crap.

      Probably the best usage of SVG's would be simple images made for dramatically inbcreasing size (like icons in KDE) or other size-variation.

      The only way to do pretty increasing size icons now are to shim a javascript to display 6 or so jpegs that were manually sized. These do not account for resolution on your screen.

      Hopefully, Ive made clear what these things are.

      --
  8. Addds by Anonymous Coward · · Score: 5, Funny

    Wow! Imagine how much more exciting it will be to punch the monkey!!

  9. Re:failure to take off by ergo98 · · Score: 5, Insightful

    Its failure to take off prolly has nothing to do with the ubiquitious support for Flash..

    Fair point, however I'd say that no, Flash hasn't supplanted the role that SVG could perform, and there still is a huge void waiting to be filled.

    The reality is that the web is largely full of static, raster graphics (most graphs, as a simple example, exist as tiny craptacularly printing, non-interactive GIFs) - most of which would be better served by interactive, "infinite resolution" vector graphics.

    http://msdn.microsoft.com/msdnmag/issues/03/07/Sca lableVectorGraphics/default.aspx

  10. "only in Firefox" by MP3Chuck · · Score: 5, Insightful

    "With such a useful web developer feature available only in Firefox, could we soon start seeing websites asking their users to download Firefox to get the best browsing experience?"

    No.

    First of all, it's also available in Opera 8.

    Second of all, at the risk of sounding like a troll, people will simply find ways around using SVG until IE supports it ... just like they have for PNG and (proper) CSS2.

  11. It's only OK if it's us. by Tokerat · · Score: 5, Insightful

    [...] could we soon start seeing websites asking their users to download Firefox to get the best browsing experience?
    I'd prefer it if websites didn't have to recommend a browser at all, which is the whole reason we have web standards like HTML in the first place.
    --
    CAn'T CompreHend SARcaSm?
  12. Adblock *.svg by bender647 · · Score: 5, Insightful

    freeing vector graphics from the small rectangle of a browser plugin and opening up a host of exciting new possibilities for web developers
    Sounds like a whole new annoying type of advertising coming our way.

  13. Re:failure to take off by Naikrovek · · Score: 5, Interesting

    I don't think Flash's existence has anything to do with the non-existance of SVG content. I think the lack of content comes from the lack of viewing methods.

    SVG is not just another vector-based image format, it is scriptable, patent-free, open source, and now built into Firefox. Yes, I know Flash is scriptable too...

    with XMLHttp, SVG, and the latest nightlies of Firefox, I've been able to create dashboard programs very easily, with "guages", "warning lights", and all the stuff that my management wants to see in a simple easy to understand manner, all with open source software, and a little effort on my part.

    It won't be that easy to get it implemented at my employer, but I was able to do it all in a couple hours without Flash.

    I'm happy for Flash and SVG to coexist. I'm sure that they can live happily together.

  14. Re:Excellent by spectre_240sx · · Score: 5, Informative
    Well, you're a little bit off there. HTTP was never Hyper Text Transfer Protocol. It's HyperText Transfer Protocol. Subtle, but it makes a big difference.

    hypertext

    In computing, hypertext is a user interface paradigm for displaying documents which contain automated cross-references to other documents called hyperlinks. Selecting a hyperlink causes the computer to display the linked document within a very short period of time.

    A document can be static (prepared and stored in advance) or dynamically generated (in response to user input). Therefore, a well-constructed hypertext system can encompass, incorporate or supersede many other user interface paradigms like menus and command lines, and can be used to access both static collections of cross-referenced documents and interactive applications. The documents and applications can be local or can come from anywhere with the assistance of a computer network like the Internet. The most famous implementation of hypertext is the World Wide Web.

    The term "hypertext" is often used where the term hypermedia would be more appropriate.
  15. No Firefox Only Sites, Please by idiotfromia · · Score: 5, Insightful
    With such a useful web developer feature available only in Firefox, could we soon start seeing websites asking their users to download Firefox to get the best browsing experience?"

    The keyword is best. Lets just hope some webmasters don't start doing what some IE designers have done, blocked out an entire website because of not using the correct browser. Most of the sites that say my Firefox is "not up-to-date as the latest Interenet Explorer" will render just fine, if they hadn't put up blockades to their content.

    It's their loss.

  16. Re:SVG soon widely supported? by Eric+Pierce · · Score: 5, Interesting

    > Opera 8.0 supports SVG, and so will IE7

    IE will support SVG natively or via Adobe's horribly outdated SVG plugin?

    Please provide a reference link.

  17. "Best viewed with" is bollocks. by TractorBarry · · Score: 5, Insightful

    could we soon start seeing websites asking their users to download Firefox to get the best browsing experience?

    I bloody well hope not. If I do I'll know that the website(s) in question have been designed by idiots. As Tim Berners-Lee states in Technology Review, July 1996:

    "Anyone who slaps a 'this page is best viewed with Browser X' label on a Web page appears to be yearning for the bad old days, before the Web, when you had very little chance of reading a document written on another computer, another word processor, or another network."

    So any sites saying "best viewed with..." are run by idiots - whether that "browser X" be Firefox, IE, Safari, Konqueror or even Lynx etc. etc.

    Websites should be written to standards so they can be viewed by users in the browser of their choice. This is especially true to allow access for disabled users. That's the whole fucking point of the web.

    And it's another reason that having Flash only websites is the WORST thing you can do. A colleague of mine at work is visually impaired and has to use a 21" monitor at 640 by 480 with a high contrast scheme. He still has to read the text by putting his face about 10" from the screen and scanning across the monitor. Flash websites are totally inaccessible to him.

    And every day the internet fills up with crappy flash covered apologies for web pages built by idiots, for idiots, Ho hum...

    --
    Sky subscribers are morons. They pay to be advertised at !
  18. Accept Header by fulldecent · · Score: 5, Interesting

    When I loaded this page, Firefox uses the request header:

    Accept: text/xml,application/xml,application/xhtml+xml,tex t/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

    Will the new version prefer SVG in that accept header, or will SVG fall after png, in the q=0.5 category?

    I'm askng because in certain software projects I work with, I use content negotiation to deliver the image format the user wants [PLUG: http://fdcl.sourceforge.net/] and that lets them decide if they can handle PNG or they must use the crummy gif equivalent. Firefox specifically prefers png, so that wins. I'm sure this would be the only method that SVG's are delivered to Firefox, since nobody wants to put a file onto a website that will never be seen.

    --

    -- I was raised on the command line, bitch

  19. Re:Mixing SVG into XHTML: Standard? by MilenCent · · Score: 5, Insightful

    Won't it be regarded as an embrace-or-extend move by Mozilla?

    Maybe. If the Mozilla foundation were a gigantic monopoly which seeked to break standards specifically for the purpose of creating compatibility problems with competing browsers in favor of their own proprietary alternative.

    Wait. They're not a monopoly. They're implementing a standard and not breaking one. They're doing nothing proprietary.

    Remember, it was Microsoft that coined the term "embrace and extend." Changes are not bad in and of themselves, but web browsers need to be interoperable and standards-compliant, so different browsers will render the same thing the same way. Copying IE's rendering to display those pages that are designed around IE is compatible with IE, but IE alone, and ultimately just gives Microsoft carte blanche to dictate the development of HTML. The Mozilla guys are doing it the right way here.

  20. Flash, SVG, who cares by LionKimbro · · Score: 5, Insightful
    For whatever reason(s), good or bad, Flash has not taken off with developers.

    I'm really not concered here with the reasons why.

    But let me tell you what I see:

    • When I look on Planet GNOME, I see developers excited about supporting SVG.
    • When I look on Planet KDE, I see developers excited about supporting SVG.
    • When I look at what Firefox has in wings, I see SVG.
    • Even looking at Microsoft, we see SVG.
    • When I look at SVG, I see a nice, obvious, XML format. If I want to write a program that uses SVG, it's clear to me how I will do it.
    • When I look at Microsoft, and when I look at Free Software projects, I see lots of libraries for desktop support of Flash, either extant, or soon-to-be extant.


    But, let's look in the other direction, Flash:

    • I see happy artists, I see happy graphic designer tyes.
    • I don't see platforms building Flash support in.
    • I see some ambiguous licenses, that leave me wondering what I can and cannot do with what's there.
    • I see a tiny Free Software effort, making a Flash player, but I wonder if it's legal or not. And I don't really see a lot of developers excited about it.
    • I see that you have to download the player as an extra step on a lot of platforms.
    • I don't see a real obvious way on how to make a desktop app that natively includes Flash.


    In short, I don't see a whole lot of excitement about Flash, except from one crowd: Artist and graphic designer types.

    The point isn't whether my perceptions about Flash or SVG themselves are correct. The point is whether my perceptions of the communities around them are correct.

    If designers and art types, and a handful of programmers are excited about Flash- okay, that's one thing.

    But if most programmers and developers are excited about SVG, that's another thing entirely. Who writes the apps? Who writes the programming languages? Who writes the tools?

    Devs have shown themselves not to be terribly excited about Flash. However, there's a lot of excitement around SVG.

    So, you know- you put 2 and 2 together, and you come out with: SVG will be the one that busts the bubble. We won't be trapped in little boxes anymore.

    Much of the software is already here. This thing has been in planning and development for years and years and yeras. So, we already have all these libraries, that are just being integrated into the respective platforms. So: We have every reason to believe this will work.

    I don't know why Flash didn't work. I don't even have to know particularly why Flash didn't work. All I have to do is see is that SVG worked: It struck the chord the developers needed to play along with.