Archive for the 'Standards' Category

An alternative way to addEventListener

I can’t believe none of us knew DOM2
This is how a tweet from @SubtleGradient, re-tweeted by @jdalton, has been able to steal my rest tonight … and this post is the consequence …
What’s new in a nutshell
There is a W3C Recommendation about addEventListener behavior, which clearly specify the second argument as an EventListener.
The new part [...]

COR Blimey! Cross domain Ajax is really here

There is a lot of solid support for cross-domain Ajax in modern web browsers, yet most developers are still unaware of this powerful capability. Usage requires just a little bit of extra JavaScript work and a little extra server-side work to ensure that the correct headers are being sent. IE8’s implementation lags a bit behind [...]

W3C. Hire Ben Schwarz now. Making specs nice to look at!

While preparing my HTML WORKSHOP, I’ve been re-reading W3C specs in far further detail than I ever would’ve imagined. The reading experience is far from delightful. Not only is the text the entire browser width in measure, but it’s dense and laborious to read. No wonder browser vendors have traditionally missed subtle details.

The paragraph above [...]

The new element has been added to the HTML5 spec

It is always fun to get a new tweet from Mr. WHATWG and these came through recently:

HTML5: Captions – Stage 1: the <track> element.
HTML5: Captions – Stage 2: the IDL additions.
HTML5: Captions – Stage 3: defining what a timed track and a timed track cue are.

John Dyer noticed the new <track> element too, and noted [...]

Microsoft to support H.264 only? Really?

Dean Hachamovitch took an opportunity to talk about Microsoft’s point of view on HTML5 video.
Namely, the view that they will only support H.264.
Why do that post now? Get it out before Google I/O and VP8 gets released and opened? Follow Steve Jobs’ attack on Adobe (which talks about the openness of H.264?).
Dean says:

H.264 is an [...]

HTML5 and CSS3 Readiness Visualization

Paul Irish and Divya Manian have created a fun visualization on readiness of HTML5 and CSS3 standards in various browsers.
It uses a bunch of the usual CSS cool-suspects: -webkit-gradient, -webkit-transition, -webkit-border-radius, and the like (and -moz/-o too).
The added feature is…. do a mouse scroll on the page:
PLAIN TEXT
JAVASCRIPT:

 

jQuery(document).bind(’DOMMouseScroll mousewheel’, function(e, delta) {

    var newval,

  [...]

HTML5 Test. Acid for HTML5?

html5test.com is a site by Niels Leenheer that runs a series of (currently) 160 tests on your browser. The tests are grouped into:

Doctype

Canvas

Video

Audio

Geolocation

Storage

Offline Web Applications

Workers

Section elements

Grouping content elements

Text-level semantic elements

Forms

User interaction

This is a good start, but help him out with new areas to test! Having a simple “count” did wonders for Acid in many ways, [...]

Holiday reading? WebGL Draft Available

The first WebGL specification is here for your holiday leisure reading. The awesome Arun of Mozilla just posted this to the W3C device API group:

Today, the WebGL WG at Khronos released a public draft of the WebGL specification, and we really welcome (and need) wide review. Along with Mozilla folks, the WebGL WG has [...]

W3C Capture API our in draft

A draft of the W3C Capture API has been put out there by the editors.
The Capture API defines a JavaScript API for accessing the microphone and camera of a hosting device.
When I look at the API for getting pictures from a camera I got a little scared at the amount of DOM fluff around the [...]

ES5 is an ECMA standard

ES5 is an ECMA standard.
Let’s hear it for forward progress, even though we want so much more for the only viable language to program the Web client to date.
Let’s have a big “Booo” to IBM for being so stuck up that they think their IEEE decimal position is so freaking important that warrants blocking everything [...]