Problems with canvas and Safari

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Yanskopolis
    New Member
    • Mar 2007
    • 9

    Problems with canvas and Safari

    Hi, I'm having some problems getting canvas vector images to render properly in Safari. I've googled a bit and Safari 1.3+ does support the canvas tag, so I'm not sure why it's not working (it works fine in FF2 & Opera 9).

    Here's the test page: http://lazydragon.dreamhosters.com/canvas-test3.html

    I've basically just copied & pasted the example from the mozilla documentation page: http://developer.mozilla.org/en/docs...adient_example

    Anyone know why it doesn't work in Safari?

    Cheers.
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    <canvas> is not a standard W3C element and I had never heard of it but your mozilla link says it is part of the WHAT html5 thing. The link also says Safari supports it but I would have no way of helping with this. Personally, I consider the WHAT group to be a bit of a rogue operation but I also confess that I pay no attention to them so how legitimate their actions are may be transparent to me.

    Comment

    • AricC
      Recognized Expert Top Contributor
      • Oct 2006
      • 1885

      #3
      Originally posted by drhowarddrfine
      <canvas> is not a standard W3C element and I had never heard of it but your mozilla link says it is part of the WHAT html5 thing. The link also says Safari supports it but I would have no way of helping with this. Personally, I consider the WHAT group to be a bit of a rogue operation but I also confess that I pay no attention to them so how legitimate their actions are may be transparent to me.
      The WHAT group? Never heard of em

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        You never heard of what?

        Comment

        • Yanskopolis
          New Member
          • Mar 2007
          • 9

          #5
          Originally posted by drhowarddrfine
          <canvas> is not a standard W3C element and I had never heard of it but your mozilla link says it is part of the WHAT html5 thing. The link also says Safari supports it but I would have no way of helping with this. Personally, I consider the WHAT group to be a bit of a rogue operation but I also confess that I pay no attention to them so how legitimate their actions are may be transparent to me.
          It's strange that it doesn't work on Safari, as Apple are apparently the ones that invented canvas.

          The reason I chose canvas was that it seemed like it had the most support (FF2, Opera 9, Safari? & IE with extra javascript).

          I might look into the Dojo javascript library as that is supposed to be able to draw vector images (I was hoping to avoid having to load a big library every time the page is accessed).

          Comment

          Working...