473,325 Members | 2,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Problems with canvas and Safari

Yanskopolis
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.
Mar 22 '07 #1
4 3082
drhowarddrfine
7,435 Expert 4TB
<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.
Mar 22 '07 #2
AricC
1,892 Expert 1GB
<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
Mar 22 '07 #3
drhowarddrfine
7,435 Expert 4TB
You never heard of what?
Mar 22 '07 #4
<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).
Mar 22 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: dpomt | last post by:
Hello, I am using the ASP.NET menu control and I have two issues when the page containing the menu is displayed in Safari on Mac OS X: 1) The menu is not dynamic. Why (it seems that Safari is...
2
by: balakrishnan.dinesh | last post by:
Hi Frnds, I want to know about, how to use color in canvas in javascript. Bcoz im using canvas in javascript for plotting line graph, I have plotted the linegraph, now i need to differentiate...
5
by: Andrew Poulos | last post by:
Is there a right/best way to draw an ellipse using Canvas? (With VML there's the v:oval element which makes the exercise trivial). I tried drawing a 360 degree arc (a circle) and then scaling it...
11
by: Aaron Gray | last post by:
Hi, I have put together a bit of JavaScript to make a square resizable canvas :- http://www.aarongray.org/Test/JavaScript/resizable.html Problems I have :- a) I cannot seem to center it...
16
by: eben | last post by:
I've been playing with the canvas primitive available in some of the modern browsers, and have put together a little 3d engine that I thought other people might find useful. See ...
1
by: Andrew | last post by:
Hello Everyone I am receiving an error in an application I am working on. The application when its done will be a Dungeons and Dragons Network game. I am having problems with the Networked...
6
by: Nebulism | last post by:
I have been attempting to utilize a draw command script that loads a canvas, and through certain mouse events, draws rectangles. The original code is from...
11
by: MartinRinehart | last post by:
I'm drawing curves on a canvas. And then redrawing, re-redrawing, ... Are there any tools that could help me draw in something more graphic than the eight arguments of the Bezier curve?
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.