The Current State of CSS Gradients Support

Posted on May 8th, 2009 | No Comments »

CSS GradientsWhile doing some web design brainstorming earlier today, I wondered if any progress had been made on adding support for CSS Gradients beyond WebKit, for which support was first introduced a little over a year ago.  Via MozillaZine, I realized I’m not the only one wondering this, and ended up stumbling upon the Bugzilla bug tracking the progress of CSS Gradients support in Firefox.  Reading through some of the commentary there, it gave me a newfound appreciation for just how fluid the implementation of these kinds of features really is.  For example, it’s somewhat obvious that the original support as announced at Surfin’ Safari was based on some of the canvas documentation related to HTML 5.

Paraphrasing the HTML5 spec and adjusting the language slightly to not be canvas-specific:

“The color of the gradient at each stop is the color specified for that stop. Between each such stop, the colors and the alpha component must be linearly interpolated over the RGBA space without premultiplying the alpha value to find the color to use at that offset. Before the first stop, the color must be the color of the first stop. After the last stop, the color must be the color of the last stop. When there are no stops, the gradient is transparent black…”

Furthermore, it’s obvious that not everyone completely agreed with the initial implementation, and it’s clear that Firefox developers collaborated with WebKit developers to hone in on a more logical implementation.

All of that being said, the reality is that CSS Gradients are not supported widely enough at the moment to be considered tools in the common web developer’s tool belt.  As aforementioned, Firefox support is still in progress (as of yesterday, in fact) and support in Internet Explorer 8 and Opera 10 appears to be non-existent, based on visits to this demo in those browsers.  The demo only seems to work as expected in Safari and Chrome (the latest “Dev” version, at least), which makes sense, since those are the major players that sport WebKit under the hood.

We’ll be keeping an eye on the progress of CSS Gradients support and several other, similar implementations over the coming year.

Tags: , , , , , , , , , , , , , , , , , , ,

Getting Google Chrome to Work in 64-bit Windows 7

Posted on May 8th, 2009 | 1 Comment »

Google Chrome LogoAs I mentioned on my personal blog recently, I’ve made the switch to 64-bit Windows 7 on my main home computer.  As someone who is used to using Google Chrome as his secondary browser, I was greatly disappointed when I found that Chrome doesn’t work on 64-bit Windows 7 out of the box.  Since making the switch to 64-bit back in March, I’ve been making do with Firefox, which I use as my primary browser, and Safari 4 Beta as Chrome’s replacement.  Both of those browsers work fine on 64-bit Windows 7, and in fact, there is even an x64 build of Firefox available, though I don’t use it personally because it feels too unofficial.

I decided to catch up on the issue today, though, hoping that maybe some progress had been made in getting Chrome working on 64-bit Windows 7.  A Google search on the subject led me to How to Run Google Chrome on Windows 7 64 bit Version, a post from the beginning of this year that apparently recommends opening up a security hole in order to get the browser to run correctly.  Luckily, though, since then, a couple of commenters have mentioned a much cleaner approach.  Paul, one of the site’s commenters, for example, recommends following the instructions in the Chromium Developer Documentation for updating to the latest “dev” version of the browser.

Upgrading to the latest “dev” build of the browser isn’t without its cons either, though.  In doing so, you are opening yourself up to any bugs or ill-conceived features that wouldn’t ever make their way into a normal, end user-oriented build.  However, for someone like myself who doesn’t mind playing around with risky builds, this is a small, acceptable price to pay for being able to run Chrome on my main computer.

Google refers to the upgrade process as “changing channels,” and the three available channels to choose from, using their Google Chrome Channel Changer, are:

  • Stable: Official Google Chrome releases (~ quarterly updates)
  • Beta: More stable releases (~ monthly updates)
  • Dev: The latest features and bugfixes (~ weekly updates)

After using the Google Chrome Channel Changer to change my channel to “Dev,” the next step involved opening the web browser, selecting the “wrench” dropdown, and going to About Google Chrome.  Initially, though, I didn’t see anything about upgrading to a new version in that dialog.  I ended up having to leave Chrome open and idle for quite a few minutes, with the About Google Chrome dialog closed (though I’m not positive this was a requirement), before I opened it again and found that the browser had upgraded itself to the latest “Dev” version (2.0.177.1 at the time of writing).

To my delight, despite the fact that I’m still unable to run the default version of Chrome on 64-bit Windows 7, I am now running Chrome on my main computer without any issues.  In fact, I’m posting this from Chrome.

If you’ve found yourself in the same position and your mileage has varied, or even if it’s been similar, drop a note here and let us know.

Tags: , , , , , , , , ,

Around the Browsersphere #12

Posted on March 7th, 2009 | No Comments »

Whoa.  Has it really been like eight months since the last time we went around the browsersphere?  Not good.  I guess we should do something about it…

General

Avant Browser

Camino

Chrome

Firefox

Flock

Internet Explorer

Maxthon

Opera

Opera Mini

  • Armenia, a country with around three million people, saw its Opera Mini usage grow by 2800% last year.  See this and other interesting statistics in the State of the Mobile Web report (via Choose Opera).
  • “Yahoo! is expected to begin distributing Opera Mini via Yahoo! Mobile and also as a standalone download from Yahoo!’s mobile Web sites in the near future.”

Orca Browser

Safari

SeaMonkey

Skyfire

There was a lot to cover this time around, and there’s much more I haven’t yet covered.  Hopefully that means we’ll see the 13th installment of “Around the Browsersphere” sooner than November. ;)

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,