WHATWG cherry picks applied to the HTML 5.1 spec for week 26 (2013-07-01)

Hi all,

Below is a list of the changes cherry-picked from the WHATWG spec into
the HTML 5.1 spec, ordered by type of changes.

These are changes made between 14th June and 1st July.

The following bugs were closed:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18244
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16564

Some large changes were applied, so a review would be very much appreciated.

Best Regards,
Silvia.


DOM APIs:
* [giow] (0) Make showModalDialog()'s dialogArguments and returnValue
only be useful same-origin, to avoid origins attacking each other
(7975)
https://github.com/w3c/html/commit/312bccbd4baea3b1f0a75b73d875e09676bcb23f

* [giow] (3) WindowModal.returnValue isn't limited to strings. (7976)
https://github.com/w3c/html/commit/79c3f1b706f530ca18745b1cfd396f8946b30c9c

* [giow] (3) Define window.close; update the list of members exposed
cross-origin on Window to match reality (7977)
https://github.com/w3c/html/commit/e75908b4b571da400afeb63af69676da0e6bd6ae

* [giow] (3) Make window.open() security aspects more consistent with
reality. (7985)
https://github.com/w3c/html/commit/fed3fe4c0653961f9bc76fe12221514cab18aee6

* [giow] (3) Be even more explicit about the supported property names
of a <form>. (7986)
https://github.com/w3c/html/commit/06adf588d1926d2ffaa813ea17a1888c6e81b160

* [giow] (3) Block enumeration of cross-origin objects, and clean up
the language around those objects to be more consistent so that
differences can more easily be seen. (7997)
https://github.com/w3c/html/commit/a7411e351d45a8c2b1e35a9ab23a7d3c20ad7ee8


HTML:
* [giow] (2) Limit labels in e-mail addresses to 63 characters, not 255. (7978)
https://github.com/w3c/html/commit/394614e452d37ad17866593d77a71e3dc4f9590f

* [giow] (3) Finally clean up how we scroll to the top of a document
(in particular for vertical documents) (7979)
https://github.com/w3c/html/commit/a610adb75b7b5969a3b4bcb6562bb200dc670290
Closes: https://www.w3.org/Bugs/Public/show_bug.cgi?id=18244

* [e] (0) Lay the groundwork for DOM Core to handle reentrant mutation
observers. (7980)
https://github.com/w3c/html/commit/4917090bdaa038423737dcf0f212dd35c5e84aac

* [giow] (1) Simplify <dialog> positioning logic. Basically, the CB is
always the ICB, and the static position gets reset more often than
before. (7981, 7982)
https://github.com/w3c/html/commit/b14b05db107be4b8b5db02ceadca305dac735c4f
https://github.com/w3c/html/commit/6b1cac30ec8e1b9f1996b093a1b5a5d44ab72d6e

*  [giow] (1) Clarify formats for autofill fields (7983)
https://github.com/w3c/html/commit/8d555870c679c95d7c3097a8154f289ee8458381

* [giow] (2) Sandboxing: prevent pages from closing their top-level
browsing context (unless they can navigate it, in which case,
whatever) (7984)
https://github.com/w3c/html/commit/0b1a3e934ecc56fc78e1c9d3c2a7bf9aef5b9512

* [at] (1) Broaden the possible use case for <figure>. (7991)
https://github.com/w3c/html/commit/2ed300772d47f768c831d8d06810b3229d07748a
[ Please check, because I removed a FORK in this commit ]

* [giow] (3) Make <form> submission more like reality. (7992)
https://github.com/w3c/html/commit/903a9c4c9217f29d68fadcedd49372da12354915

* [e] (0) Clarify <datalist> content model. (7993)
https://github.com/w3c/html/commit/9feacc093f27c0cb46b60688c1c07745a9a17af7

* [e] (0) Fix mistakes with CSS and make 'not in a state' more
consistent (textarea) (7994)
https://github.com/w3c/html/commit/3798b9ca9030c28fbb66512f24d3ab1b7bfa5ec5
Closes: https://www.w3.org/Bugs/Public/show_bug.cgi?id=16564

* [giow] (3) Revamp how errors are reported to be a little more sane
and hopefully slightly closer to more browsers (but there's not a huge
amount of interop here and so this won't exactly match anything). This
is a very risky change so let me know if anything broke. (7995)
https://github.com/w3c/html/commit/09710c23364a3004cb9da1cfacc13857effeca29


HTML Parser:
*  [e] (0) Very risky editorial change! Please review! This attempts
to refactor the parser logic so that the foster parenting is actually
done inline in a single algorithm that is called by anywhere in the
parser that could be affected by it. This will allow us to add the
<template> magic with minimal actual magic in the prose, hopefully.
(7998)
https://github.com/w3c/html/commit/8e127db936c0c5831ab8095e8badcd9e744a5b11
[PLEASE REVIEW: merging required deletion of extra paragraphs that
were not present in WHATWG version.]

* [giow] (3) Another very risky change! Please review! This attempts
to refactor the parser logic so that the ownerDocument is explicitly
set at each place a node is created by the parser. This actually fixes
an ambiguity, which was what should happen when a script has
transplated a node that is still on the stack of open elements into a
Document without a browsing context, if the node created has some
magic (e.g. <img src>, <script>). (7999)
https://github.com/w3c/html/commit/9f276deb4a20dd605d5490bef1c0e912f319fc40

* [cgiow] (1) Integrate <template> into HTML. (8000)
https://github.com/w3c/html/commit/434b34afabe0b3dd8a11fcfee1ef801fc1e913b9
[PLEASE CHECK: this mostly replaces existing <template> spec merge]

Rendering:
* [giow] (3) Make <legend> styles match reality. (7987)
https://github.com/w3c/html/commit/4dde1de457d340cff491d67a6ef284b101198e61

* [giow] (3) Try a different definition of 'being rendered' that goes
more directly to the point. This should not make any practical
difference except that it handles cases where an element is in a
Document that has no browsing context. (7989)
https://github.com/w3c/html/commit/bcac86888603be009281e1e03873610ec156decd


Video/Audio/Track:
* [giow] (2) Revamp how the 'time marches on' algorithm is invoked. (7990)
https://github.com/w3c/html/commit/47048d69c5b303f3cbd8144964f8e5c76b8e98cd

* [e] (0) Make a note of some places where user-agent-defined
behaviour can trivially be used for fingerprinting. (There are other
places that have user-agent-defined behaviour that could in theory be
used that way too that I haven't marked because in practice I expect
user agents will either converge on a single value or will vary from
page load to page load. Feel free to file a bug if you find cases that
are real vectors that I haven't marked.) (7996)
https://github.com/w3c/html/commit/3f169bc5592f99410065103cb8581275986aacae

Received on Friday, 5 July 2013 10:15:58 UTC