Sunday, November 18, 2012

Microsoft Complains That WebKit Breaks Web Standards

I wish people would stop offering the "well Microsoft used to do this so who are they to complain" excuse. Not only is the internet a different place, but so is Microsoft. They tried very hard to become as standards-compliant as they are now, and it took the risk of breaking existing websites along the way, despite the compatibility mode they offered. But the fact is, they made that decision. I still don't care about using IE, but I still give credit where credit is due.

Where the problem lies is mostly with the W3C. This is who we should be blaming. This is 2012, and all that ever happens with these people is bickering and squabbling, while the web still stagnates with a technology level of five years ago, and couldn't even decide on a standard for something as basic as rounded corners. This is the Achilles' Heel of the free software world, where everything is treated far too much as a democracy, so every nerd with an over-inflated ego has an idea for how something should be done and they're absolutely certain that theirs is the best way to do it. It not only results in the dozens and dozens of forks of major pieces of software in the free software community, but also results in any kind of standards decisions being delayed for literally years while everyone acts like babies instead of ratifying something already.

I can remember almost ten years ago when I was developing a very graphics-oriented website, and part of what I was being asked to do was to rotate a section of the page by 90 degrees. Except the content on this area was dynamic, containing an avatar and the user's name and stuff. There was no web standard for doing something like this at all, and my only option was going to be using Flash. But since Flash was prone to not line up perfectly among every browser (and I needed pixel-perfect alignment), not to mention was overkill for what I needed, even that was a problem. So eventually, after looking at our statistics, a good 98+% of the users used IE. The rest was Opera or Safari. So I made the decision to implement IE's proprietary DirectX filter extension, which allowed rotation of any HTML object in the page, and would apply this to any content normally inside of this object as well. The resulting effect was excellent.

Over time, I wasn't entirely satisfied with this single-browser solution (which had something to do with the fact that I'd switched to Opera myself!). But web technology still never caught up. So my way around this was to generate this section of the website on the server itself, using Perl and the GD library. I cached the resulting image for every user, only regenerating it when they changed their icon or any of their information. I was able to recreate the original DirectX filter version with 99% accuracy this way. But this was all only because our web host had been kind enough to install GD for me to begin with, since this was before we were running our own server.

The point of this story is, the ability to rotate components in a DOM tree has only recently become possible in HTML5. And HTML5 is still unfinished! Expect to see plenty more browser-dependent extensions over the decade, just like what happened last decade, all because the organization we rely on to give us these standards is dragging its heels and arguing every detail along the way.

Source: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/uoh97ZCOrt4/microsoft-complains-that-webkit-breaks-web-standards

Gigi Chao Jimmy Hoffa Ed Hochuli Opie modern family george strait how i met your mother

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.