Week 10/11: Staged WHATWG patches for HTML5.1 & Microdata

Hi again,

This week the following WHATWG patches up to and inc commit 7759 [1] have
been cherry-picked into the W3C HTML specification (master branch) for
HTML5.1. This takes us to WHATWG patches up to 17th March 2013 (i.e. we are
up-to-date).

You can see the actually committed patches here:
https://github.com/w3c/html/commits/master (18th March).

>From the last two weeks, the following patches were cherry-picked patches
address the following:

* document.open() legacy hack for compat : Type argument to Document.open
needs to allow "replace" as an alias for "text/html"
https://github.com/w3c/html/commit/02bae6c5e7447b9aa24d57d257f958f6b9bd468a
ffaf02e910e658ec3e938fdc634f95363603c9f1 (7729)

* clean up IDL on Document.execCommand with optional arguments
https://github.com/w3c/html/commit/0cdb68de9b9941f75dd09ff738055bfc361a8343
8cc0f0454e92ea5b2e9823f69c72e3ec0914a6db (7734)

* added comment about constructor of DragEvent, which isn't really useful
https://github.com/w3c/html/commit/fecdddfd3f780ab83233461f870db894438f3afe
4af5f775b1c8b743dc7e7d8dc30d2bc0adf1222a (7735)

* HTMLTableRowElement.insertCell to use 'optional long index = -1' instead
of implying missing == -1 in prose
https://github.com/w3c/html/commit/bcc5b6ab0b28a924f1e6f7854d0f47830a38d4d4
65b35c6c290f030ff808b6f3edc1e87d19528776 (7736)

* pass the WindowProxy object of the Window object on which
setTimeout/setInterval was called, instead of passing undefined
https://github.com/w3c/html/commit/232c32df34485950513e396d47952e216b72f501
ed103cd26bb7cd47ee9e68186d8bb35b5a8dd517 (7737)

* Don't add a new history position when doing document.open
https://github.com/w3c/html/commit/7700dadd90546ef975657cf68c40aaad2dddab97
5d43fe653ee1496259e27ab5e76f6ec647a47d26 (7738)
Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=18205

* Explain “proleptic Gregorian calendar” and “proleptic-Gregorian date”
https://github.com/w3c/html/commit/509fb2ceefcf95a278713733752ce314c7f7b0fa
619e5c439b741d46742a8c3afb80e3b42a5601b8 (7740)
51ddb61ee7cd11894e5e97c50285e9f7bd4919c9 (7741)

* Media elements: Try to make ordering of media events even more
well-defined.
https://github.com/w3c/html/commit/d8879cea674fd6a340864918c96f38f626765197
d102d776628910bcdf5161b85ce8ad2b1653f493 (7743)

* Create list of translatable attributes.
https://github.com/w3c/html/commit/b6583cc99a0dde2b1894b99ac3a47a7686504b54
f6575f316afa11a9930b22cf9684b89c330ca5b0 (7745)

* Default navigator.language to 'en' instead of null.
https://github.com/w3c/html/commit/3721a066aca041a80ee35e325f49b31773955780
1d01b673b60d83d667158f919b217b60513e736c (7746)

*  navigator.product is needed for Web compat and needs to be set to "Gecko"
https://github.com/w3c/html/commit/0dc65fd72dedd8e038470789b213ab06d14b3cc3
f827c4bcbe2ea4ee223089c335b0246983cdcd25 (7747)
Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=20665

* Reverse the set of cross-references amongst what an element in the DOM
“represents” to remove some ambiguity.
https://github.com/w3c/html/commit/cc14e88b6c88498aba39ee62bcb5fccb286aecd2
8ef5b13146f030ec27476d2bebe3251d9f61e936 (7750)

*  Add some error handling to form submit() with constraints.
https://github.com/w3c/html/11348c3f532fc9d78f419d70871bcdea27640704
92e3121c96b1731169c3bd7a3dc8aafc0146ffd7 (7752)

* Add an 'invalid' event sent to the _form_ when submission fails due to
form validation. (The normative parts of this change were accidentally put
in the previous checkin, sorry.)
https://github.com/w3c/html/c81d443f956ae7b86a489cef085dff6289d13d77
0e0f5fddb9f83113e70d5a9a9e8021fe26725189 (7753)
be98cb8af4e28cbf6d0173f1e5ac780bdd401afb (7754)

* Try to define when document.open() doesn't work more precisely.
https://github.com/w3c/html/cd36e1deb09a229a753f71872f955d722cfa6c9f
3e39c72b5e755187ae33845544ae6bfc095fa639 (7757)
Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=17077

* Allow custom properties on Location objects to work for the Document
whose Location object it originally was.
https://github.com/w3c/html/510cc4c0e85089518691769ecdc2c8d5d7c953fb
ccc6d60bfac28360277c3074aaf1876866ec369a (7758)
https://github.com/w3c/html/0dc7557ab7bd67da679381de83b18743bb503962
062f131feffe0d6ca890dc21a445228c951b78bd (7759)



Editorial changes:
* typo in Anne’s name in reference
https://github.com/w3c/html/commit/82dddacee926cb8cbb5ab8259c615992d4feef50
e9ab810ae57f83c8aa8af36572d1bea442230317 (7730)

* Cleanup (line and markers, FORK markers)
https://github.com/w3c/html/commit/6b00cfa048414cbe68964c01999aa86d7bce6a24
acbd2f4d284f8036ba06a857237af8af6a03b433 (7744)

* Remove a fork from WHATWG spec wrt constructor for Audio & Img element
(WHATWG caught up with our fix).
https://github.com/w3c/html/commit/5f8c5acc8657317184c0eafb8be336cc3da2b888
cd23be9e598ac1b4bf48c931dd5a0c4dbced8501 (7751) (Audio)
b7dbf207c9f3fc6419d7916cf8ab2ffa5f8b4315 (7756) (Audio)
04bac360c33e39fecddc6a5282c56121eca71023 (7755) (Img)



Change to Microdata:
* Instead of overriding namedItem() calls, shadow them, so both
HTMLCollection.prototype.namedItem and HTMLCollection.namedItem work.
Also note: https://www.w3.org/Bugs/Public/show_bug.cgi?id=17161 for removal
of legacycaller from HTMLPropertiesCollection.
https://github.com/w3c/html/commit/82c990a7ef7b7c71ecf5aa739388fbacf8adc898
7c5d46081ffeeb4d8c2fe07ed9ec67cf31924f39 (7739)
Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=18195


Note that I also cherry-picked changes to the TextTrack API and WebVTT, but
will make a separate post on this.

Please register a bug or reply to this email if you would like to see any
of the patches backported to HTML5.0 CR or have any other issues with the
applied patches. Note that no patches were picked for HTML5.0 CR.

Best Regards,
Silvia.

[1] http://html5.org/tools/web-apps-tracker?from=7758&to=7759

Received on Monday, 18 March 2013 08:20:26 UTC