Skip to Navigation | Skip to Content



Archive for the 'WebKit' Category

Dreamweaver CS5 - HTML5 Pack | August 9th, 2010

Screen-shot-2010-08-09-at-5.05.27-PM

Adobe recently released HTML5 Pack extension for Dreamweaver CS5. It adds initial support for HTML5 and CSS3 in Dreamweaver’s Live View mode as well as code hinting for HTML5/CSS3 exclusive properties. I just put together a quick test page and it’s pleasant to know that CSS animation is also supported within the Live View screen.

Screen-shot-2010-08-09-at-5.04.25-PM

Another nice addition is the Multiscreen Preview which shows you multiple rendering of the page in different sizes. By default, it’s set to iPhone, iPad and Browser. This goes for Dreamweaver in general, but it would be nice if there was an option to set each view’s layout/rendering engine. I’m assuming it’s using some version of Webkit right now as it only accepts “-webkit-” prefix for CSS3 properties such as border-radius and text-shadow. Another addition I would like to see in the future is to be able to scroll through the whole multiscreen panel. You can scroll within each screen, but let’s say if there is a view that’s cut off below bottom of the panel, there is no way to get to it other than reducing the height of screens above it.

This extension is quite handy and I wouldn’t mind switching over to Dreamweaver to do HTML5 stuff, but then again, it crashed like 5 times while creating the test page. I’m sure it’s not the extension and it’s a Dreamweaver thing. Anyhow, I would highly recommend people with Dreamweave CS5 to try out this extension.

Adobe Dreamweaver CS5 HTML5 Pack

Posted in Adobe, CSS, Dreamweaver, HTML5, WebKit | No Comments » | Add to Delicious | Digg It

Cube Defense on FireFox | November 10th, 2009

I have just updated my Cube Defense Demo to work in both WebGL enabled WebKit and FireFox. It is still 10-20fps slower compared to WebKit, but hey, at least it works! I would like to thank those who emailed me tips on making it compatible for both.

To share my experience, these are some of the things I had to change to make it work for WebKit and FireFox:
• Use UNSIGNED_SHORT instead of UNSIGNED_BYTE
• Use CanvasUnsignedShortArray instead of CanvasUnsignedByteArray
• For FireFox, use WebGLFloatArray instead of CanvasFloatArray. This will make things faster.
• ARRAY_BUFFER rather than ELEMENT_ARRAY_BUFFER
• “clearDepth” for WebKit, “clearDepthf” for FireFox
• In “bindBuffer” function use null instead of 0

If you have anything else to add, share your thoughts!

*Update: (November 18th, 09)
This is a little outdated now, so I crossed out some irrelevent stuff. Also, in the lastest WebKit, anything that was CanvasXXXXXArray is now WebGLXXXXXArray.

Posted in 3d, FireFox, WebGL, WebKit, javascript, openGL | 8 Comments » | Add to Delicious | Digg It


Search Posts

You are currently browsing the archives for the WebKit category.

  • Links

  • Categories