Thursday, August 14th, 2008

This Week in HTML 5: Navigator standardization, Worker, and more

Category: HTML, Standards

<p>Mark Pilgrim has released his second This Week in HTML 5 episode that covers window.navigator, a new Worker, talk on alt, and more.

Navigator standardization

The navigator attribute of the Window interface must return an instance of the Navigator interface, which represents the identity and state of the user agent (the client), and allows Web pages to register themselves as potential protocol and content handlers.

Currently, HTML 5 defines four properties and two methods:

  • appName
  • appVersion
  • platform
  • userAgent
  • registerProtocolHandler
  • registerContentHandler

This is only a subset of navigator properties and methods that browsers already support. See Navigator Object on Google Doctype for complete browser compatibility information.

More content-language’s

Content-Language. No, not the HTTP header, not even the <html lang> attribute, but the <meta> tag! As reported by Henri Sivonen,

It seems that some authoring tools and authors use <meta http-equiv='content-language' content='languagetag'> instead of <html lang='languagetag'>.

This led to revision 2057, which defines the <meta> http-equiv="Content-Language"> directive and its relationship with lang, xml:lang, and the Content-Language HTTP header.

In the continuing saga of the alt attribute, the new syntax for alternate text of auto-generated images (which I covered in last week’s episode) has generated some followup discussion. Philip Taylor is concerned that it will increase complexity for authoring tools; others feel the complexity is worth the cost. James Graham suggested a no-text-equivalent attribute; similar proposals have been discussed before and rejected.

Switching to the new Web Workers specification (which I also covered last week), Aaron Boodman (one of the developers of Gears) posted his initial feedback. This kicked off a long discussion and led to the creation of the Worker object.

Posted by Dion Almaer at 11:57 am
1 Comment

+++--
3.6 rating from 10 votes

1 Comment »

Comments feed TrackBack URI

Nice article ….. its really helpful

Comment by vikas1234 — August 24, 2008

Leave a comment

You must be logged in to post a comment.