WHATWG merges applied to HTML5.1 master branch (Weeks 42 through 47)

Here are the latest changes from the feature/whatwg branch that have been cherry-picked into the HTML5.1 master for your review.

This brings us up to date with the WHATWG spec as of 21 Nov 2013 (SVN 8305). And Silvia's recent mail [1] address commits for 22 Nov (SVN 8312).

Please respond with any feedback or concerns.

Thanks,
Erika

[1] http://lists.w3.org/Archives/Public/public-html/2013Nov/0031.html 

__Normative changes______

    [giow] (3) Try to make window.opener more compatible (8235)
https://github.com/w3c/html/commit/a3456f0bb253e22f90b7671d3dedd590e790c077 (mostly pre-merged with Mega Merge see SVN for details
    [e] (0) Add a related way to escape scripts. (8236)
https://github.com/w3c/html/commit/212cd2384f39dde37656670b114efca07bd9875c
    [e] (0) Missed a case in previous checkin. (8237)
https://github.com/w3c/html/commit/61e9069382b5b6860c11f466fb819831f071caad
    [e] (0) Revert the last two checkins. (8238)
https://github.com/w3c/html/commit/06b971a7e667ffd32dc95a7958410c18930db4c4
    [giow] (3) Drop the ability to catch 'error' events from <iframe>, since nobody implemented it after 5 yea rs. (8239)
https://github.com/w3c/html/commit/f91263aad19a3f61912a2c7627d8fa505601134d
    [giow] (3) Make sure to define how rel=stylesheet should be reloaded if you change .href (8240)
https://github.com/w3c/html/commit/842ef94b649008eefb37ced75d85082aa3756060
    [] (0) Browsers can't delay alt style sheets and remain Web compatible, apparently. (8244)
https://github.com/w3c/html/commit/f1f52b5c05bfa93bf7bea5d6840a89e8006063f8
    [a] (0) Update conformance criteria to match what's conforming. (8248)
https://github.com/w3c/html/commit/d5e90355cf9e24aab76269f33cbfed35ae23aa06
    [giow] (3) HTMLFormElement[name] can return several kinds of elements.
    Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23065 (8249)
    (Merged with Mega Merge)
    [giow] (2) <details ontoggle=''> for when you open or close a <dialog>.  (8251)
https://github.com/w3c/html/commit/efd595d48fe8d87a635978ae54aadf8ad8d23d5b
    [giow] (0) ack for last checkin (8252)
https://github.com/w3c/html/commit/4b63bc733a4c200bccc96f3d472898e9994dfa60
    [giow] (3) Match reality better in terms of selector case-sensitivity (8253)
https://github.com/w3c/html/commit/847bbf3072c20b1e2f0aed81e63e56fc9debf07a
    [e] (0) Add sorted='' to the index. (8256)
https://github.com/w3c/html/commit/27aa50dc89e3117d3ec4413a2860de1a7e0fe1e4
    [giow] (2) Add some more locales to the default encoding logic. (8258)
https://github.com/w3c/html/commit/d32122b566f38da016b9a40c08b5359d764d2346
    [giow] (2) Add greek to the default encoding logic. (8259)
https://github.com/w3c/html/commit/dd7a82b22123887410752fa714eb6e6904da5a4d
    [giow] (3) Match reality better in terms of selector case-sensitivity for attributes as well (8261)
https://github.com/w3c/html/commit/7f6cf998db537f31c27d2b028176828bd6f9d4c5
    [] (0) Prepare for WebIDL integration (8263)
https://github.com/w3c/html/commit/3dc0d3d287c053598c9de933aec7f23aea0e8207
    [giow] (1) Share the ownerDocument of template contents amongst the templates of a document. (8270)
https://github.com/w3c/html/commit/df634b5bec6195cc8f20a0d46bb3112e346669cb
    [giow] (3) Change iframe, frame, and object.contentDocument to return null when cross-origin documents are involved. (8272)
https://github.com/w3c/html/commit/a570fb498315312f58e5d5f0522cee33cfa1fadc
    [] (3) Remove security checks on Document since there should now be no way to get to a Document from another origin. (8273)
https://github.com/w3c/html/commit/042c1e4cb894b5dc04a25b7e80554d917a20bcbd
    [giow] (2) Make sandboxed iframes block document.domain setting (8275)
https://github.com/w3c/html/commit/a92b978c15f7286ac4ad1e42013254096e45ffc7
    [giow] (3) Adjust the rules on rendering images without 'alt' attributes. (8281)
https://github.com/w3c/html/commit/36cdd5e751e1ba0cc065d5f98f47f56c7428905a
    [giow] (3) OnBeforeUnloadEventHandler is supposed to allow null return values (and some markup error fixes, oops) (8282)
https://github.com/w3c/html/commit/e13303c4f6cff5c7c6f61ed271ac658ddf425404
    [cgiow] (3) Change how dir='' works, from being an embedding to being an override, for better results on mixed-directionality sites. THIS IS A HIGH RISK CHANGE, EXPECT BREAKAGE. Please report breakage on the bug if it's higher than acceptable, so we can revert the change if necessary.  (8283) **W3C NOTE: Fixes 22326**
    Predicessor to HTML5.0 CR bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=22326
https://github.com/w3c/html/commit/cf3f3dbbc3a28e0b6f82d6395427c84b4bf489a8
    [giow] (2) Move javascript: processing entirely into HTML, and fix its definitions to match reality better at the same time. (8284)
    Fixes Resolved LATER bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=19062 
https://github.com/w3c/html/commit/af55b9de04442f4534bd20cd1c55aa8b41b20292
    [giow] (2) Define the task settings for the javascript: task (8285)
https://github.com/w3c/html/commit/d9702a7ab0af8bcbdc9b207186640165cac069f7
    [giow] (2) imageSmoothingEnabled logic was backwards, oops (8288)
https://github.com/w3c/html/commit/1ebc01fb21732c6d849a48c02afd5f7930c5ae9b
    [giow] (3) Handle the case of removing the 'src' attribute on a live <iframe>, and some minor clarity changes. (8289)
https://github.com/w3c/html/commit/90da386d09929e2840f641bdcc8d5408bc349522
    [e] (0) Rearrange how session history is defined. (8291)
https://github.com/w3c/html/commit/7b0eefc82412b65558c995edf92087ec23805a5a
    [e] (0) The 'reset the insertion mode' algorithm referenced the context element in some cases where there was no context element (e.g. '<html><head></head><template></template>') (8293)
https://github.com/w3c/html/commit/536ee530e0a64823939a122b69e92383b0be84ec
    [giow] (3) Move more towards the browsers for <option> selectedness vs dirtiness. This doesn't quite match any browser exactly, so all browsers would have to change to match it. If there's a reason (e.g. backcompat) to prefer a different model, please reopen the bug and let me know. (8297)
https://github.com/w3c/html/commit/8a01c97614eefe71d2487e189e2cc8655fcf9e87
    [c] (2) Remove the parts of the script content model that could lead to unbalanced crazy (8299)
https://github.com/w3c/html/commit/73cb36be9ebe05c5cd265b5dd76a1b7a12ff461d
    [giow] (1) Always allow a browsing context to navigate itself. (8301)
https://github.com/w3c/html/commit/46a15578b158b6d292c510ceb589b7d1216fbf54
    [giow] (1) Kill History objects on non-active docs (8302)
https://github.com/w3c/html/commit/26f4af7e844690e2248632b3fb16fafb0757ac72
    [giow] (3) Move the event handler content attribute compiling logic to later in the pipeline, for better consistency with Firefox/Safari (and other browsers, though to a lesser extent). (8303)
https://github.com/w3c/html/commit/0cc69fd43fb6a2b49b633d2822768f8456a9bac3

__Canvas 2D_____________

    [giow] (3) Make arc() match reality better and contradict itself less. (8294)
https://github.com/w3c/html/commit/c0a00c4ca300eac9b6030d832b60dc6ae6311de9

__Microdata (N/A to W3C HTML5 spec)_____________

    [e] (0) Explain microdata restrictions on property names (8300)
https://github.com/w3c/html/commit/868d30769f466b398b23bfe71a8d3a7be05ee3e0

__Web Sockets (N/A to W3C HTML5 spec)___________

    [giow] (2) Make sure WebSocket connections that can't honour the subprotocol don't get established (looks like this got broken in the protocol spec at some point) (8232)
    (Merged with Mega Merge)
    [e] (0) Reword the concept of closing a WebSocket with prejudice so that it's more obviously a flag (8298)
https://github.com/w3c/html/commit/312b38eee106216681a0d80f674c3866f52e9ce1
 [giow] (3) WebSocket.url should be consistent with how the URL is used in the first place. (8305)
https://github.com/w3c/html/commit/fb34d33095f7b044a952199233a51f430152ce22


__Web Messaging (N/A to W3C HTML5 spec)_________

    [giow] (1) A MessageEvent object constructed using MessageEventInit doesn't get the actual array that was passed, that would be weird. It gets a copy. (8260)
https://github.com/w3c/html/commit/36033fc69f16e63192e471741b40cc9852a65df3
    [agiow] (0) New BroadcastChannel feature to send messages to other tabs in the same origin, so you don't have to abuse the onstorage event, and don't need to use a heavy shared worker for something otherwise trivial. (8274)
https://github.com/w3c/html/commit/4efc21d8a6b8284a76aa5aa6c05fa39055947adc

__Web Workers (N/A to W3C HTML5 spec)___________
    [giow] (3) Oops, broke the API referrer source for workers. (8268)
https://github.com/w3c/html/commit/9b0e8bd8790601101b14cd052bcfa2e18edad402

__Editorial changes_______________
    [e] (0) Clarify typographic conventions. (8230)
https://github.com/w3c/html/commit/0bbf4cb5588f4b32ee1ae1ca595f48f207d4ecd6
    [giow] (0) Try to improve the fingerprinting-avoidance advice for navigator.language (8231)
https://github.com/w3c/html/commit/dfb7baef592d3cef9d4af15724f8d3839c9a63a8
    [e] (0) Include more non-normative documentation in the script content restrictions section. (8233)
https://github.com/w3c/html/commit/56f5cb3a1bf7eeccc6cb403af6d65cad7c1b68bf
    [e] (0) grammar fix for last checkin (8234)
https://github.com/w3c/html/commit/
    [giow] (1) Suggest that quotas be based on uncompressed sizes, since the alternatives are more abusable and less predictable for authors and users (8241)
    (Already merged with the Mega Merge)
    [e] (0) typo in event handler section (8242)
    (Merged with Mega Merge)
    [e] (0) Explain 'gone async' (8243)
    (Merged with Mega Merge)
    [e] (0) Update term in data-* section to match DOM. ('attribute list' vs 'attributes list') (8245)
https://github.com/w3c/html/commit/3b5c7fd787f63a21c65df30c0049735c7b0c1042
    [giow] (3) The bulk of this is editorial: refactoring how scripts are defined so that all the common stuff is in a shared 'settings object' rather than being duplicated per script. But this also cleans up how postMessage() interacts with the event loop and a few other things I've since forgotten. (8247)
https://github.com/w3c/html/commit/242db78784560e23f1833c768e4f97df0eb3d4d3
    [e] (0) typo in reference in NavigatorContentUtils section
    Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23656 (8246)
    (Merged with Mega Merge)
    [e] (0) Disambiguate the meaning of 'after' here in the Date definition (8250)
https://github.com/w3c/html/commit/c31edd82229e7a56560e7175ca252924b696101b
    [giow] (0) Be more specific about applying MEDIAFRAG rules to <video>. (8254)
https://github.com/w3c/html/commit/3127684d61656c27c73988c648a90ce9ba50d055
    [e] (0) Missed the word 'flag' in this form submission text (8255)
https://github.com/w3c/html/commit/2f0a5b9c7d20cb226666b26ee168c6d600a3d55e
    [e] (0) wiktionary says 'acknowledgement' is the UK spelling, and for now we're using the US spellings in theory... (8257)
https://github.com/w3c/html/commit/0e3393a65c30d885b4537a95c426472494b0e667
    [] (3) Move the spec from a stack of incumbent scripts to a stack of script settings object. This should in theory have no concrete effects (though I may have changed some of the origin used for Web Workers started from document.domain-affected scripts that were called from other scripts with different original origins). (8262)
https://github.com/w3c/html/commit/7a97068894544444cd27e98edd306e23b83efdaf
    [] (0) Some more tidying around script settings objects. (8264)
https://github.com/w3c/html/commit/b7f1cbbf37cbd0adcc8017bc29ca96073b078677
    [] (0) Provide integration hook for Custom Elements spec. (8265)
https://github.com/w3c/html/commit/93f971ae4b83f8c39d7f3354ddfaf719533e2518
    [e] (0) Mention why srcset might not always be honoured in real time. (8266)
https://github.com/w3c/html/commit/ebc9908575f457701d8a8359123261995c20ac41
    [e] (0) Cross-reference 'Document' in some IDL (8267)
https://github.com/w3c/html/commit/63a37e5f75c9f3a3e01e68beab76889a69767fea
    [e] (0) Update how we reference XHR (8269)
https://github.com/w3c/html/commit/d69683d7de6c2737a31c278441e3178ead79385c
    [e] (0) Use DOM's hooks for defining the magic 'load' event in The End (8271)
https://github.com/w3c/html/commit/d30d96dcd3bb5104867f438d818e27a92424b5f3
    [t] (1) Mention that other specs may also list translatable attributes.
    Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21421 (8276)
https://github.com/w3c/html/commit/66a865b3908971baf4209ebc56c6fb6202409620
    [e] (0) File is a subclass of Blob so we can just use Blob's entry. (8277)
https://github.com/w3c/html/commit/823a13068133c9aebc9bf08772763ecd2446950e
    [e] (0) Improve alphabetic order of GlobalEventHandlers (8278)
https://github.com/w3c/html/commit/fbf1f7bce0d8108eafb6b71bdf578a00346b433a
    [e] (0) Update terminology to match File API spec (8279)
https://github.com/w3c/html/commit/89af05c28c1779e0deea28b963a540cffb71ee41
    [e] (0) Reframe the <img> rendering section for clarity (8280)
https://github.com/w3c/html/commit/0f51a405469977efcc46222ff58fb5a97131966e
    [e] (0) Mention that scripted changes don't fire 'input' and 'change' on <input>. (8286)
https://github.com/w3c/html/commit/adb3420e254ad8556e93a54051fb6140ab5ac22b
    [e] (0) Clean up how we describe the 'delay the load event' logic for loading nested iframes (8287)
https://github.com/w3c/html/commit/76a1a4e2b54a5f0bbc9286d4ac8a3e5ed523bf11
    [e] (0) 'HTML elements elements' typo x3 (8290)
https://github.com/w3c/html/commit/6b703e19ac5c6bce5cfba91b1ba7682663fc56a2
    [giow] (2) Oops, copy-and-paste error in the javascript: handling section (8292)
https://github.com/w3c/html/commit/2a56d2db1a46ff68cc9031784213b27737428cec
    [e] (0) Add a note about hidden='' and CSS (8295)
https://github.com/w3c/html/commit/2071f5263918e56a600168d7aba6132669040f8f
    [e] (0) Try to make this text less ambiguous regarding crossorigin=''. (8296)
https://github.com/w3c/html/commit/f46b8d02468d70afe4dc1c784f08df65b70a80ae
    [e] (0) Fix up the attribute annotations a bit (8304)
https://github.com/w3c/html/commit/0eeaf5e2bb246b8fdb33e807037be028861ac26f

Received on Monday, 25 November 2013 16:02:49 UTC