Archive for the ‘browser’ Category

No Comments

Google Chrome joins Opera in SVG background image support

Thursday, December 10th, 2009

I always liked Opera’s support for SVG, and I really welcomed their initiative to treat SVG as any other image type, like jpg or gif or png. After all SVG (Scalable Vector Graphics) is a vector-image  mark up language (XML), like Flash or Silverlight but free and it’s an Open Standard.

Round corners, gradients, multi-image background, watermarks, nearly everything (animation?) can be handled by SVG, so it’s quite a powerful feature. Creating a dataURL of SVG is possible, so creating a CSS file with several gradient backgrounds, round borders is indeed a very efficient way of designing webpages. It’s cached, and although the initial css file is a bit heavier, no extra server requests are needed  to load additional images. It’s fast, lean and flexible.

I’m glad to see Google Chrome as the first other main browser join Opera in support for SVG images as backgrounds in CSS declarations.

SVG support as background image in Google Chrome

SVG support as background image in Google Chrome

Chrome’s implementation isn’t without errors, see what happens if you start scrolling the webpage in the brand new Chrome for Linux beta, but is a start. I hope Mozilla/Firefox and Apple/Webkit will follow soon.

Google Chrome rendering issues SVG background

Google Chrome rendering issues SVG background

I’ve given up expectations for Microsoft Explorer, see my other post. To be short: they wanna sell their Silverlight.

I’m not without any hope, :), I hope Internet Explorer users will start using other webstandard compliant browsers and consequently MS marketshare will drop significantly. Only then they probably will convert to an attitude of supporting and promoting open standards.

2 Comments

What about Microsoft Internet Explorer 6?

Friday, December 4th, 2009

Use it at your own risk!

Consider yourself lucky if it serves any accessible and well-formatted content on the web and always be aware you could miss something: you can’t expect seeing colors on a black and white TV.

Internet Explorer 7 is a bit better, and 8 is a bit better again, although it’s compatibility setting is a big lie. Designers don’t design websites for browsers, they program following rules and  according to international webstandards. Unfortunately sometimes (=always in case of Internet Explorer)) you have to patch a site to work well in browsers. Historically Internet Explorer doesn’t comply to those web-standards.

IMHO the costs of website-design is raised by approximately 50% due to weak standards support by Internet Explorer. I guess that worldwide loss is bigger than the cost of the financial crises in autumn 2009. Billions of euros.

Compare it with an added translation in Microsofts gibberish of several pages to every plain English written book, magazine or newspaper. Nobody wants that, but on the web it’s a fact.

Microsoft is selling an Operating System, they don’t like advanced web-applications: it makes their core business obsolete. So they try to slowdown innovation. And they try to push proprietary standards as Video-encoding techniques and Silverlight: we can use it only if we pay Microsoft and buy their software.

You wonder why sensible people are using Explorer at all. Probably they’re ignorant. It’s simply pre-installed. The same reason the crisis hit that hard: My bank offered me a mortgage, I thought I could trust my bank. Well, they make money and we pay the bill.

No Comments

How to install Opera 10 Alpha under Linux

Wednesday, December 17th, 2008

Opera claims that a alpha or beta version will not interfere with a standard installation, but that’s mainly true for Windows. For Linux you have to be a bit more carefull, but still it’s easy.

How do you install the latest Opera Alpha/beta version on a Linux/ Ubuntu box? The download page doesn’t offer the dedicated Ubuntu versions like it does for main versions. But don’t worry, it is easy.

Opera 10 Alpha in action

Opera 10 Alpha in action

There a several version for download, for AMD64 bits for 64 bits systems or intel-linux for 32bits setups. Make your choice.

Then you have to choose for different GCC  and QT versions. GCC stands for GNU Compiler Collection the standard compiler for most Linux systems. QT refers to the LIBQT libraries. Qt is a cross-platform C++ application framework. Qt’s primary feature is its rich set of widgets that provide standard GUI functionality. You can check your versions in the Synaptic Package Manager and choose.

I took the easy way:  I simply downloaded the bundled version with the latest versions, and it worked.

Don’t take the RPM or DEB’s packjages. They will be installed with installers like dpkg and interfere with your existing Opera browser. Choose the gz or bz2 packages instead.

Download the packages to your home folder, extract, and run!

To extract the bz2:

tar -xvjf opera-10.00-4102.gcc4-bundled-qt4.i386.tar.bz2

Then:

cd opera-10.00-4102.gcc4-bundled-qt4.i386/

And run:

 ./opera

That’s all! Opera runs just fine. And the new rendering speed is fast, really fast. I noticed that scrolling is not always smooth on complicated SVG pages, but hey, it’s a alpha. Webfonts are cool. Expect a demo here soon.

1 Comment

Canvas Rendering Quality

Monday, October 20th, 2008

This post shows some surprising differences in rendering quality from various browsers.

As you can see the Google Chrome screen-shot is simply ugly. Google Chrome is fast in javascript calculations, but that seems to have a price.


Opera | Safari | Firefox | Chrome

It looks like Chrome is simply skipping some pixels and the rendering doesn’t seemed to be aliased.

You can run the example demo in your own browser to see the results.

No Comments

Third Party Cookie Privacy Issues

Thursday, October 16th, 2008

Intro

Cookie settings can be confusing sometimes. Most browsers offer a setting `Don’t accept third party cookies` (Firefox) or `Accept only cookies from the site I visit` (Opera 9.5), `Accept only cookies from the sites I visit` (Safari). Although stated a bit differently this setting seems to have the same functionality.

Not so!

I’m not going into Microsoft Explorer, because I think internet-users that do care about internet, security and privacy should leave Explorer aside. Microsoft’s privacy and security record is historically below par, as well as their support for open standards. And they don’t like internet: they don’t wanna connect people, they want people to use Microsoft products. Later more!

First of all the settings aren’t stated very well in all dialogs. Don’t accept means don’t send as well, both in Firefox and Opera and that’s a good thing, because sending (untrusted) cookies is the `bad` thing.

Default settings, same results

What’s the difference in these settings. Try it yourself. Open a Google page in another tab, login with your account or login to gmail, and refresh this page.


If you have accept all cookies selected, you will see a personalized Google page in the iframe, recognisable with your gmail-address somewhere on top. That’s the same in Firefox and Opera and Safari.

Advanced cookies settings, different results

Now try the other setting: Don’t accept third party cookies.

Reload the page, and the iframe will not show a personalized Google page. The same behaviour in Opera and Firefox, but Safari does show a personalized page.

That’s remarkable, I don’t expect browsers to send cookies to third party iframes, when you have explicitly forbidden them.

But now comes an interesting point. Click the search button in the iframe. Google will carry out the same search as before and Firefox will not show a personalized page, meaning it’s not sending a cookie, but Opera will! Opera is sending a cookie, although the cookie setting is Only accept cookies from the domain I visit.

Strange again? Yes and no.

Yes, because you would expect it won’t send a cookie to the different domain.
No, because clicking on the iframe means in a way visiting the iframe, so the iframe is not a different domain anymore.

It’s debatable which policy is best. I think Safari sucks here. The privacy mode doesn’t work here and the cookie setting doesn’t do what it should do.
I would choose Firefox’s way as best. If I want to visit an iframed Google page as a user I can do that in a new tab or window.

Conclusion

Bottom-line: Third part cookie settings are differently implemented by browser vendors, that’s confusing. Cookies are to easely send to third parties, even with advanced security settings.

Does the strict settings have a side-effect for redirects. I’m not sure. What do you think?