Thursday, August 14th, 2008p>Mark Pilgrim has released his second This Week in HTML 5 episode that covers window.navigator, a new Worker, talk on alt, and more.
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:
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.
It seems that some authoring tools and authors use
<meta http-equiv='content-language' content='languagetag'>instead of
This led to revision 2057, which defines the
<meta> http-equiv="Content-Language"> directive and its relationship with
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
Posted by Dion Almaer at 11:57 am