html5/spec dnd.html,1.81,1.82 dom.html,1.1073,1.1074 editing.html,1.1058,1.1059 spec.html,1.1748,1.1749

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv9663

Modified Files:
	dnd.html dom.html editing.html spec.html 
Log Message:
Compatibility fix for how events are fired when nothing is focused and there's no body element. Also, editorial tweaks around how drag and drop events are fired to the body element. (whatwg r6753)

[updated by splitter]


Index: dom.html
===================================================================
RCS file: /sources/public/html5/spec/dom.html,v
retrieving revision 1.1073
retrieving revision 1.1074
diff -u -d -r1.1073 -r1.1074
--- dom.html	21 Oct 2011 06:46:24 -0000	1.1073
+++ dom.html	25 Oct 2011 18:46:25 -0000	1.1074
@@ -744,10 +744,7 @@
   </dl><p><dfn id="the-body-element-0">The body element</dfn> of a document is the first child of
   <a href="#the-html-element-0">the <code>html</code> element</a> that is either a
   <code><a href="sections.html#the-body-element">body</a></code> element or a <code><a href="obsolete.html#frameset">frameset</a></code> element. If
-  there is no such element, it is null. <span class="impl">If the body
-  element is null, then when the specification requires that events be
-  fired at "the body element", they must instead be fired at the
-  <code><a href="infrastructure.html#document">Document</a></code> object.</span></p><div class="impl">
+  there is no such element, it is null.</p><div class="impl">
 
   <p>The <dfn id="dom-document-body" title="dom-document-body"><code>body</code></dfn>
   attribute, on getting, must return <a href="#the-body-element-0">the body element</a> of

Index: editing.html
===================================================================
RCS file: /sources/public/html5/spec/editing.html,v
retrieving revision 1.1058
retrieving revision 1.1059
diff -u -d -r1.1058 -r1.1059
--- editing.html	20 Oct 2011 23:46:25 -0000	1.1058
+++ editing.html	25 Oct 2011 18:46:26 -0000	1.1059
@@ -431,7 +431,10 @@
   <p>When an element is <i>focused</i>, key events received by the
   document must be targeted at that element. There may be no element
   focused; when no element is focused, key events received by the
-  document must be targeted at <a href="dom.html#the-body-element-0">the body element</a>.</p>
+  document must be targeted at <a href="dom.html#the-body-element-0">the body element</a>, if there
+  is one, or else at the <code><a href="infrastructure.html#document">Document</a></code>'s root element, if
+  there is one. If there is no root element, key events must not be
+  fired.</p>
 
   <p>User agents may track focus for each <a href="browsers.html#browsing-context">browsing
   context</a> or <code><a href="infrastructure.html#document">Document</a></code> individually, or may support

Index: dnd.html
===================================================================
RCS file: /sources/public/html5/spec/dnd.html,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- dnd.html	19 Oct 2011 22:46:26 -0000	1.81
+++ dnd.html	25 Oct 2011 18:46:25 -0000	1.82
@@ -1671,18 +1671,13 @@
          <dd>
 
           <p><a href="#fire-a-dnd-event">Fire a DND event</a> named <code title="event-dragenter"><a href="#event-dragenter">dragenter</a></code> at <a href="dom.html#the-body-element-0">the body
-          element</a>, and set the <a href="#current-target-element">current target
-          element</a> to <a href="dom.html#the-body-element-0">the body element</a>, regardless
-          of whether that event was canceled or not.</p>
-
-          <p class="note">If <a href="dom.html#the-body-element-0">the body element</a> is null,
-          then the event will be fired at the <code><a href="infrastructure.html#document">Document</a></code>
-          object (as required by the definition of <a href="dom.html#the-body-element-0">the body
-          element</a>), but the <a href="#current-target-element">current target element</a>
-          would be set to null, not the <code><a href="infrastructure.html#document">Document</a></code>
-          object.</p></dd>
+          element</a>, if there is one, or at the
+          <code><a href="infrastructure.html#document">Document</a></code> object, if not. Then, and set the
+          <a href="#current-target-element">current target element</a> to <a href="dom.html#the-body-element-0">the body
+          element</a>, regardless of whether that event was
+          canceled or not.</p>
 
-        </dl></dd>
+        </dd></dl></dd>
 
       </dl></li>
 

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1748
retrieving revision 1.1749
diff -u -d -r1.1748 -r1.1749
--- spec.html	25 Oct 2011 04:47:22 -0000	1.1748
+++ spec.html	25 Oct 2011 18:46:26 -0000	1.1749
@@ -349,7 +349,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">web developer edition</a>.
-This is revision 1.5412.
+This is revision 1.5413.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2011 <a href="http://www.w3.org/"><abbr title="World Wide

Received on Tuesday, 25 October 2011 18:46:32 UTC