HTML 5

A central location for HTML5 news and updates

Please read this sites disclaimer before you contact me with any concerns.

http://www.htmlfive.net/feed/rss/

This Week in HTML 5 – Episode 29

April 7th, 2009 · No Comments

Your Ad Here

Welcome back to "This Week in HTML 5," where I'll try to summarize the major activity in the ongoing standards process in the WHATWG and W3C HTML Working Group.

The big news for the week of March 30th is the addition of a synchronous database API to the Web Storage spec (which was split out from the HTML 5 spec a few weeks ago). This new API defines a DatabaseSync object whose methods return SQLTransactionSync objects. This directly mirrors the asynchronous database API, which had already defined a Database object whose methods return SQLTransaction objects. [r2958]

Another interesting change this week is r2921, which adds the placeholder attribute to the <textarea> element. I tracked the initial discussion of the placeholder attribute in episode 8 and noted its appearance in HTML 5 in episode 13. Previously you could only use the placeholder attribute on <input type=text>, <input type=email>, <input type=url>, and <input type=password>, but Thomas Broyer pointed out that Google Code (among others) uses placeholder text on <textarea> elements. Such sites could now theoretically migrate their current script-based solutions to HTML 5 markup.

Other interesting changes this week:

  • r2928 recommends that browsers should reset the text-indent property when rendering a <textarea> element.
  • r2930 notes a strange edge case where paragraphs (<p> elements) can end up overlapping each other if they are used as fallback content within an <object> element.
  • r2933 adds event handler DOM attributes like onclick to the WebIDL definition of the document object.
  • r2936 allows the spellcheck attribute to be present with no value, as a synonym for spellcheck="true". I first mentioned the spellcheck attribute in episode 23, and again in The Road to HTML 5: spellchecking.
  • r2937 allows <textarea wrap=off>.
  • r2941 further tweaks the algorithm for parsing legacy color attributes, which is trickier than you might think.
  • r2943 allows the width and height attributes of an <img> element to be 0.

Around the web:

Tune in next week for another exciting episode of "This Week in HTML 5."

This item was originally posted at: http://blog.whatwg.org and is licensed under the MIT license

Tags: Weekly Review

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment