[html5] r7831 - [e] (0) Change the variable name 'dialog' to 'subject' to avoid confusion. WARNI [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Apr 13 23:35:19 PDT 2013


Author: ianh
Date: 2013-04-13 23:35:18 -0700 (Sat, 13 Apr 2013)
New Revision: 7831

Modified:
   complete.html
   index
   source
Log:
[e] (0) Change the variable name 'dialog' to 'subject' to avoid confusion. WARNING: THIS IS A RISKY CHANGE. (If anyone can carefully proof-read this diff that would be fantastic.)
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20969
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2013-04-14 06:25:12 UTC (rev 7830)
+++ complete.html	2013-04-14 06:35:18 UTC (rev 7831)
@@ -54991,7 +54991,7 @@
      <dt><dfn id=submit-dialog title=submit-dialog>Submit dialog</dfn>
      <dd>
 
-      <p>Let <var title="">dialog</var> be the nearest ancestor <code><a href=#the-dialog-element>dialog</a></code> element of <var title="">form</var>, if any.</p>
+      <p>Let <var title="">subject</var> be the nearest ancestor <code><a href=#the-dialog-element>dialog</a></code> element of <var title="">form</var>, if any.</p>
 
       <p>If there isn't one, do nothing. Otherwise, proceed as follows:</p>
 
@@ -55004,7 +55004,7 @@
 
       <p>Otherwise, there is no <var title="">result</var>.</p>
 
-      <p>Then, <a href=#close-the-dialog>close the dialog</a> <var title="">dialog</var>. If there is a <var title="">result</var>, let that be the return value.</p>
+      <p>Then, <a href=#close-the-dialog>close the dialog</a> <var title="">subject</var>. If there is a <var title="">result</var>, let that be the return value.</p>
 
      </dd>
 
@@ -57115,37 +57115,37 @@
   <p>When the <dfn id=dom-dialog-showmodal title=dom-dialog-showModal><code>showModal()</code></dfn> method
   is invoked, the user agent must run the following steps:</p>
 
-  <ol><li><p>Let <var title="">dialog</var> be the <code><a href=#the-dialog-element>dialog</a></code>
+  <ol><li><p>Let <var title="">subject</var> be the <code><a href=#the-dialog-element>dialog</a></code>
    element on which the method was invoked.</li>
 
-   <li><p>If <var title="">dialog</var> already has an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute, then throw an
+   <li><p>If <var title="">subject</var> already has an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute, then throw an
    <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
    steps.</li>
 
-   <li><p>If <var title="">dialog</var> is not <a href=#in-a-document>in a
+   <li><p>If <var title="">subject</var> is not <a href=#in-a-document>in a
    <code>Document</code></a>, then throw an
    <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
    steps.</li>
 
    <li><p>Add an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute
-   to <var title="">dialog</var>, whose value is the empty
+   to <var title="">subject</var>, whose value is the empty
    string.</li>
 
    <li><p>If the <code title=dom-dialog-showModal><a href=#dom-dialog-showmodal>showModal()</a></code>
    method was invoked with an argument, <a href=#set-up-the-position>set up the
-   position</a> of <var title="">dialog</var>, using that argument
+   position</a> of <var title="">subject</var>, using that argument
    as the anchor. Otherwise, <a href=#set-up-the-default-static-position>set up the default static
    position</a> of the dialog element.</li>
 
-   <li><p>Let <var title="">dialog</var>'s <code><a href=#document>Document</a></code> be
+   <li><p>Let <var title="">subject</var>'s <code><a href=#document>Document</a></code> be
    <a href=#blocked-by-a-modal-dialog title="blocked by a modal dialog">blocked by the modal
-   dialog</a> <var title="">dialog</var>.</li>
+   dialog</a> <var title="">subject</var>.</li>
 
-   <li><p>Push <var title="">dialog</var> onto <var title="">dialog</var>'s <code><a href=#document>Document</a></code>'s <a href=#pending-dialog-stack>pending
+   <li><p>Push <var title="">subject</var> onto <var title="">subject</var>'s <code><a href=#document>Document</a></code>'s <a href=#pending-dialog-stack>pending
    dialog stack</a>.</li>
 
    <li><p>Let <var title="">control</var> be the first element in tree
-   order whose nearest ancestor <code><a href=#the-dialog-element>dialog</a></code> element is <var title="">dialog</var> and that has an <code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code> attribute
+   order whose nearest ancestor <code><a href=#the-dialog-element>dialog</a></code> element is <var title="">subject</var> and that has an <code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code> attribute
    specified, if any.</li>
 
    <li><p>If there is no <var title="">control</var>, then abort these
@@ -57158,11 +57158,11 @@
   that <code><a href=#document>Document</a></code>'s <a href=#pending-dialog-stack>pending dialog stack</a>, the
   following steps must be run:</p>
 
-  <ol><li><p>Let <var title="">dialog</var> be that <code><a href=#the-dialog-element>dialog</a></code>
+  <ol><li><p>Let <var title="">subject</var> be that <code><a href=#the-dialog-element>dialog</a></code>
    element and <var title="">document</var> be the
    <code><a href=#document>Document</a></code> from which it is being removed.</li>
 
-   <li><p>Remove <var title="">dialog</var> from <var title="">document</var>'s <a href=#pending-dialog-stack>pending dialog
+   <li><p>Remove <var title="">subject</var> from <var title="">document</var>'s <a href=#pending-dialog-stack>pending dialog
    stack</a>.</li>
 
    <li><p>If <var title="">document</var>'s <a href=#pending-dialog-stack>pending dialog
@@ -57180,16 +57180,16 @@
 
 <!--TOPIC:HTML-->
 
-  <p>When a <code><a href=#the-dialog-element>dialog</a></code> element <var title="">dialog</var> is
+  <p>When a <code><a href=#the-dialog-element>dialog</a></code> element <var title="">subject</var> is
   to be <dfn id=close-the-dialog title="close the dialog">closed</dfn>, optionally with a
   return value <var title="">result</var>, the user agent must run the
   following steps:</p>
 
-  <ol><li><p>If <var title="">dialog</var> does not have an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute, then throw an
+  <ol><li><p>If <var title="">subject</var> does not have an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute, then throw an
    <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
    steps.</li>
 
-   <li><p>Remove <var title="">dialog</var>'s <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute.</li>
+   <li><p>Remove <var title="">subject</var>'s <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute.</li>
 
    <li><p>If the argument was passed a <var title="">result</var>,
    then set the <code title=dom-dialog-returnValue><a href=#dom-dialog-returnvalue>returnValue</a></code> attribute to the
@@ -57197,14 +57197,14 @@
 
    <li>
 
-    <p>If <var title="">dialog</var> is in its <code><a href=#document>Document</a></code>'s
+    <p>If <var title="">subject</var> is in its <code><a href=#document>Document</a></code>'s
     <a href=#pending-dialog-stack>pending dialog stack</a>, then run these substeps:</p>
 
-    <ol><li><p>Remove <var title="">dialog</var> from that <a href=#pending-dialog-stack>pending
+    <ol><li><p>Remove <var title="">subject</var> from that <a href=#pending-dialog-stack>pending
      dialog stack</a>.</li>
 
      <li><p>If that <a href=#pending-dialog-stack>pending dialog stack</a> is not empty,
-     then let <var title="">dialog</var>'s <code><a href=#document>Document</a></code> be
+     then let <var title="">subject</var>'s <code><a href=#document>Document</a></code> be
      <a href=#blocked-by-a-modal-dialog title="blocked by a modal dialog">blocked by the modal
      dialog</a> that is at the top of the <a href=#pending-dialog-stack>pending dialog
      stack</a>. Otherwise, let <var title="">document</var> be no
@@ -57213,7 +57213,7 @@
     </ol></li>
 
    <li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
-   event</a> named <dfn id=event-close title=event-close><code>close</code></dfn> at <var title="">dialog</var>.</li>
+   event</a> named <dfn id=event-close title=event-close><code>close</code></dfn> at <var title="">subject</var>.</li>
 
   </ol><!--TOPIC:DOM APIs--><p>The <dfn id=dom-dialog-returnvalue title=dom-dialog-returnValue><code>returnValue</code></dfn> IDL
   attribute, on getting, must return the last value to which it was
@@ -57234,7 +57234,7 @@
   pressing the "Escape" key.</p>
 
   <hr><p>When a user agent is to <dfn id=set-up-the-default-static-position>set up the default static
-  position</dfn> of an element <var title="">dialog</var> without an
+  position</dfn> of an element <var title="">subject</var> without an
   anchor, it must set up the element such that its top static
   position, for the purposes of calculating the used value of the
   'top' property, is the value that would place the element's top
@@ -57258,7 +57258,7 @@
   (still without anchors).</p>
 
   <p>When a user agent is to <dfn id=set-up-the-position>set up the position</dfn> of an
-  element <var title="">dialog</var> using an anchor <var title="">anchor</var>, it must run the following steps:</p>
+  element <var title="">subject</var> using an anchor <var title="">anchor</var>, it must run the following steps:</p>
 
   <ol><li>
 
@@ -57266,7 +57266,7 @@
     object, then run these substeps:</p>
 
     <ol><li><p>If <var title="">anchor</var>'s target element does not
-     have a rendered box, or is in a different document than <var title="">dialog</var>, then abort the <a href=#set-up-the-position>set up the
+     have a rendered box, or is in a different document than <var title="">subject</var>, then abort the <a href=#set-up-the-position>set up the
      position</a> steps.</li>
 
      <li><p>Let <var title="">anchor element</var> be an anonymous
@@ -57280,7 +57280,7 @@
 
    </li>
 
-   <li><p>Let <var title="">dialog</var> be <a href=#magically-aligned>magically
+   <li><p>Let <var title="">subject</var> be <a href=#magically-aligned>magically
    aligned</a> to <var title="">anchor element</var>.</li>
 
   </ol><p>While an element <var title="">A</var> is <dfn id=magically-aligned>magically aligned</dfn> to an element <var title="">B</var>, <var title="">A</var> and <var title="">B</var> both have rendered boxes, <var title="">A</var> and <var title="">B</var> are both in the same <code><a href=#document>Document</a></code>, and <var title="">B</var> is earlier than <var title="">A</var> in <a href=#tree-order>tree order</a>, the following
@@ -74053,9 +74053,9 @@
   <a href=#concept-command title=concept-command>command</a>.</p>
 
   <p>An entire <code><a href=#document>Document</a></code> can be marked as <dfn id=blocked-by-a-modal-dialog>blocked by
-  a modal dialog</dfn> <var title="">dialog</var>. While a
+  a modal dialog</dfn> <var title="">subject</var>. While a
   <code><a href=#document>Document</a></code> is so marked, every node that is <a href=#in-a-document title="in a Document">in the <code>Document</code></a>, with the
-  exception of the <var title="">dialog</var> element, its ancestors,
+  exception of the <var title="">subject</var> element, its ancestors,
   and its descendants, must be marked <a href=#inert>inert</a>. (The
   elements excepted by this paragraph can additionally be marked
   <a href=#inert>inert</a> through other means; being part of a modal dialog

Modified: index
===================================================================
--- index	2013-04-14 06:25:12 UTC (rev 7830)
+++ index	2013-04-14 06:35:18 UTC (rev 7831)
@@ -54991,7 +54991,7 @@
      <dt><dfn id=submit-dialog title=submit-dialog>Submit dialog</dfn>
      <dd>
 
-      <p>Let <var title="">dialog</var> be the nearest ancestor <code><a href=#the-dialog-element>dialog</a></code> element of <var title="">form</var>, if any.</p>
+      <p>Let <var title="">subject</var> be the nearest ancestor <code><a href=#the-dialog-element>dialog</a></code> element of <var title="">form</var>, if any.</p>
 
       <p>If there isn't one, do nothing. Otherwise, proceed as follows:</p>
 
@@ -55004,7 +55004,7 @@
 
       <p>Otherwise, there is no <var title="">result</var>.</p>
 
-      <p>Then, <a href=#close-the-dialog>close the dialog</a> <var title="">dialog</var>. If there is a <var title="">result</var>, let that be the return value.</p>
+      <p>Then, <a href=#close-the-dialog>close the dialog</a> <var title="">subject</var>. If there is a <var title="">result</var>, let that be the return value.</p>
 
      </dd>
 
@@ -57115,37 +57115,37 @@
   <p>When the <dfn id=dom-dialog-showmodal title=dom-dialog-showModal><code>showModal()</code></dfn> method
   is invoked, the user agent must run the following steps:</p>
 
-  <ol><li><p>Let <var title="">dialog</var> be the <code><a href=#the-dialog-element>dialog</a></code>
+  <ol><li><p>Let <var title="">subject</var> be the <code><a href=#the-dialog-element>dialog</a></code>
    element on which the method was invoked.</li>
 
-   <li><p>If <var title="">dialog</var> already has an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute, then throw an
+   <li><p>If <var title="">subject</var> already has an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute, then throw an
    <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
    steps.</li>
 
-   <li><p>If <var title="">dialog</var> is not <a href=#in-a-document>in a
+   <li><p>If <var title="">subject</var> is not <a href=#in-a-document>in a
    <code>Document</code></a>, then throw an
    <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
    steps.</li>
 
    <li><p>Add an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute
-   to <var title="">dialog</var>, whose value is the empty
+   to <var title="">subject</var>, whose value is the empty
    string.</li>
 
    <li><p>If the <code title=dom-dialog-showModal><a href=#dom-dialog-showmodal>showModal()</a></code>
    method was invoked with an argument, <a href=#set-up-the-position>set up the
-   position</a> of <var title="">dialog</var>, using that argument
+   position</a> of <var title="">subject</var>, using that argument
    as the anchor. Otherwise, <a href=#set-up-the-default-static-position>set up the default static
    position</a> of the dialog element.</li>
 
-   <li><p>Let <var title="">dialog</var>'s <code><a href=#document>Document</a></code> be
+   <li><p>Let <var title="">subject</var>'s <code><a href=#document>Document</a></code> be
    <a href=#blocked-by-a-modal-dialog title="blocked by a modal dialog">blocked by the modal
-   dialog</a> <var title="">dialog</var>.</li>
+   dialog</a> <var title="">subject</var>.</li>
 
-   <li><p>Push <var title="">dialog</var> onto <var title="">dialog</var>'s <code><a href=#document>Document</a></code>'s <a href=#pending-dialog-stack>pending
+   <li><p>Push <var title="">subject</var> onto <var title="">subject</var>'s <code><a href=#document>Document</a></code>'s <a href=#pending-dialog-stack>pending
    dialog stack</a>.</li>
 
    <li><p>Let <var title="">control</var> be the first element in tree
-   order whose nearest ancestor <code><a href=#the-dialog-element>dialog</a></code> element is <var title="">dialog</var> and that has an <code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code> attribute
+   order whose nearest ancestor <code><a href=#the-dialog-element>dialog</a></code> element is <var title="">subject</var> and that has an <code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code> attribute
    specified, if any.</li>
 
    <li><p>If there is no <var title="">control</var>, then abort these
@@ -57158,11 +57158,11 @@
   that <code><a href=#document>Document</a></code>'s <a href=#pending-dialog-stack>pending dialog stack</a>, the
   following steps must be run:</p>
 
-  <ol><li><p>Let <var title="">dialog</var> be that <code><a href=#the-dialog-element>dialog</a></code>
+  <ol><li><p>Let <var title="">subject</var> be that <code><a href=#the-dialog-element>dialog</a></code>
    element and <var title="">document</var> be the
    <code><a href=#document>Document</a></code> from which it is being removed.</li>
 
-   <li><p>Remove <var title="">dialog</var> from <var title="">document</var>'s <a href=#pending-dialog-stack>pending dialog
+   <li><p>Remove <var title="">subject</var> from <var title="">document</var>'s <a href=#pending-dialog-stack>pending dialog
    stack</a>.</li>
 
    <li><p>If <var title="">document</var>'s <a href=#pending-dialog-stack>pending dialog
@@ -57180,16 +57180,16 @@
 
 <!--TOPIC:HTML-->
 
-  <p>When a <code><a href=#the-dialog-element>dialog</a></code> element <var title="">dialog</var> is
+  <p>When a <code><a href=#the-dialog-element>dialog</a></code> element <var title="">subject</var> is
   to be <dfn id=close-the-dialog title="close the dialog">closed</dfn>, optionally with a
   return value <var title="">result</var>, the user agent must run the
   following steps:</p>
 
-  <ol><li><p>If <var title="">dialog</var> does not have an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute, then throw an
+  <ol><li><p>If <var title="">subject</var> does not have an <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute, then throw an
    <code><a href=#invalidstateerror>InvalidStateError</a></code> exception and abort these
    steps.</li>
 
-   <li><p>Remove <var title="">dialog</var>'s <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute.</li>
+   <li><p>Remove <var title="">subject</var>'s <code title=attr-dialog-open><a href=#attr-dialog-open>open</a></code> attribute.</li>
 
    <li><p>If the argument was passed a <var title="">result</var>,
    then set the <code title=dom-dialog-returnValue><a href=#dom-dialog-returnvalue>returnValue</a></code> attribute to the
@@ -57197,14 +57197,14 @@
 
    <li>
 
-    <p>If <var title="">dialog</var> is in its <code><a href=#document>Document</a></code>'s
+    <p>If <var title="">subject</var> is in its <code><a href=#document>Document</a></code>'s
     <a href=#pending-dialog-stack>pending dialog stack</a>, then run these substeps:</p>
 
-    <ol><li><p>Remove <var title="">dialog</var> from that <a href=#pending-dialog-stack>pending
+    <ol><li><p>Remove <var title="">subject</var> from that <a href=#pending-dialog-stack>pending
      dialog stack</a>.</li>
 
      <li><p>If that <a href=#pending-dialog-stack>pending dialog stack</a> is not empty,
-     then let <var title="">dialog</var>'s <code><a href=#document>Document</a></code> be
+     then let <var title="">subject</var>'s <code><a href=#document>Document</a></code> be
      <a href=#blocked-by-a-modal-dialog title="blocked by a modal dialog">blocked by the modal
      dialog</a> that is at the top of the <a href=#pending-dialog-stack>pending dialog
      stack</a>. Otherwise, let <var title="">document</var> be no
@@ -57213,7 +57213,7 @@
     </ol></li>
 
    <li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
-   event</a> named <dfn id=event-close title=event-close><code>close</code></dfn> at <var title="">dialog</var>.</li>
+   event</a> named <dfn id=event-close title=event-close><code>close</code></dfn> at <var title="">subject</var>.</li>
 
   </ol><!--TOPIC:DOM APIs--><p>The <dfn id=dom-dialog-returnvalue title=dom-dialog-returnValue><code>returnValue</code></dfn> IDL
   attribute, on getting, must return the last value to which it was
@@ -57234,7 +57234,7 @@
   pressing the "Escape" key.</p>
 
   <hr><p>When a user agent is to <dfn id=set-up-the-default-static-position>set up the default static
-  position</dfn> of an element <var title="">dialog</var> without an
+  position</dfn> of an element <var title="">subject</var> without an
   anchor, it must set up the element such that its top static
   position, for the purposes of calculating the used value of the
   'top' property, is the value that would place the element's top
@@ -57258,7 +57258,7 @@
   (still without anchors).</p>
 
   <p>When a user agent is to <dfn id=set-up-the-position>set up the position</dfn> of an
-  element <var title="">dialog</var> using an anchor <var title="">anchor</var>, it must run the following steps:</p>
+  element <var title="">subject</var> using an anchor <var title="">anchor</var>, it must run the following steps:</p>
 
   <ol><li>
 
@@ -57266,7 +57266,7 @@
     object, then run these substeps:</p>
 
     <ol><li><p>If <var title="">anchor</var>'s target element does not
-     have a rendered box, or is in a different document than <var title="">dialog</var>, then abort the <a href=#set-up-the-position>set up the
+     have a rendered box, or is in a different document than <var title="">subject</var>, then abort the <a href=#set-up-the-position>set up the
      position</a> steps.</li>
 
      <li><p>Let <var title="">anchor element</var> be an anonymous
@@ -57280,7 +57280,7 @@
 
    </li>
 
-   <li><p>Let <var title="">dialog</var> be <a href=#magically-aligned>magically
+   <li><p>Let <var title="">subject</var> be <a href=#magically-aligned>magically
    aligned</a> to <var title="">anchor element</var>.</li>
 
   </ol><p>While an element <var title="">A</var> is <dfn id=magically-aligned>magically aligned</dfn> to an element <var title="">B</var>, <var title="">A</var> and <var title="">B</var> both have rendered boxes, <var title="">A</var> and <var title="">B</var> are both in the same <code><a href=#document>Document</a></code>, and <var title="">B</var> is earlier than <var title="">A</var> in <a href=#tree-order>tree order</a>, the following
@@ -74053,9 +74053,9 @@
   <a href=#concept-command title=concept-command>command</a>.</p>
 
   <p>An entire <code><a href=#document>Document</a></code> can be marked as <dfn id=blocked-by-a-modal-dialog>blocked by
-  a modal dialog</dfn> <var title="">dialog</var>. While a
+  a modal dialog</dfn> <var title="">subject</var>. While a
   <code><a href=#document>Document</a></code> is so marked, every node that is <a href=#in-a-document title="in a Document">in the <code>Document</code></a>, with the
-  exception of the <var title="">dialog</var> element, its ancestors,
+  exception of the <var title="">subject</var> element, its ancestors,
   and its descendants, must be marked <a href=#inert>inert</a>. (The
   elements excepted by this paragraph can additionally be marked
   <a href=#inert>inert</a> through other means; being part of a modal dialog

Modified: source
===================================================================
--- source	2013-04-14 06:25:12 UTC (rev 7830)
+++ source	2013-04-14 06:35:18 UTC (rev 7831)
@@ -65176,7 +65176,7 @@
      <dt><dfn title="submit-dialog">Submit dialog</dfn>
      <dd>
 
-      <p>Let <var title="">dialog</var> be the nearest ancestor <code>dialog</code> element of <var
+      <p>Let <var title="">subject</var> be the nearest ancestor <code>dialog</code> element of <var
       title="">form</var>, if any.</p>
 
       <p>If there isn't one, do nothing. Otherwise, proceed as follows:</p>
@@ -65197,7 +65197,7 @@
 
       <p>Otherwise, there is no <var title="">result</var>.</p>
 
-      <p>Then, <span>close the dialog</span> <var title="">dialog</var>. If there is a <var
+      <p>Then, <span>close the dialog</span> <var title="">subject</var>. If there is a <var
       title="">result</var>, let that be the return value.</p>
 
      </dd>
@@ -67710,40 +67710,40 @@
 
   <ol>
 
-   <li><p>Let <var title="">dialog</var> be the <code>dialog</code>
+   <li><p>Let <var title="">subject</var> be the <code>dialog</code>
    element on which the method was invoked.</p></li>
 
-   <li><p>If <var title="">dialog</var> already has an <code
+   <li><p>If <var title="">subject</var> already has an <code
    title="attr-dialog-open">open</code> attribute, then throw an
    <code>InvalidStateError</code> exception and abort these
    steps.</p></li>
 
-   <li><p>If <var title="">dialog</var> is not <span>in a
+   <li><p>If <var title="">subject</var> is not <span>in a
    <code>Document</code></span>, then throw an
    <code>InvalidStateError</code> exception and abort these
    steps.</p></li>
 
    <li><p>Add an <code title="attr-dialog-open">open</code> attribute
-   to <var title="">dialog</var>, whose value is the empty
+   to <var title="">subject</var>, whose value is the empty
    string.</p></li>
 
    <li><p>If the <code title="dom-dialog-showModal">showModal()</code>
    method was invoked with an argument, <span>set up the
-   position</span> of <var title="">dialog</var>, using that argument
+   position</span> of <var title="">subject</var>, using that argument
    as the anchor. Otherwise, <span>set up the default static
    position</span> of the dialog element.</p></li>
 
-   <li><p>Let <var title="">dialog</var>'s <code>Document</code> be
+   <li><p>Let <var title="">subject</var>'s <code>Document</code> be
    <span title="blocked by a modal dialog">blocked by the modal
-   dialog</span> <var title="">dialog</var>.</p></li>
+   dialog</span> <var title="">subject</var>.</p></li>
 
-   <li><p>Push <var title="">dialog</var> onto <var
-   title="">dialog</var>'s <code>Document</code>'s <span>pending
+   <li><p>Push <var title="">subject</var> onto <var
+   title="">subject</var>'s <code>Document</code>'s <span>pending
    dialog stack</span>.</p></li>
 
    <li><p>Let <var title="">control</var> be the first element in tree
    order whose nearest ancestor <code>dialog</code> element is <var
-   title="">dialog</var> and that has an <code
+   title="">subject</var> and that has an <code
    title="attr-fe-autofocus">autofocus</code> attribute
    specified, if any.</p></li>
 
@@ -67763,11 +67763,11 @@
 
   <ol>
 
-   <li><p>Let <var title="">dialog</var> be that <code>dialog</code>
+   <li><p>Let <var title="">subject</var> be that <code>dialog</code>
    element and <var title="">document</var> be the
    <code>Document</code> from which it is being removed.</p></li>
 
-   <li><p>Remove <var title="">dialog</var> from <var
+   <li><p>Remove <var title="">subject</var> from <var
    title="">document</var>'s <span>pending dialog
    stack</span>.</p></li>
 
@@ -67789,19 +67789,19 @@
 
 <!--TOPIC:HTML-->
 
-  <p>When a <code>dialog</code> element <var title="">dialog</var> is
+  <p>When a <code>dialog</code> element <var title="">subject</var> is
   to be <dfn title="close the dialog">closed</dfn>, optionally with a
   return value <var title="">result</var>, the user agent must run the
   following steps:</p>
 
   <ol>
 
-   <li><p>If <var title="">dialog</var> does not have an <code
+   <li><p>If <var title="">subject</var> does not have an <code
    title="attr-dialog-open">open</code> attribute, then throw an
    <code>InvalidStateError</code> exception and abort these
    steps.</p></li>
 
-   <li><p>Remove <var title="">dialog</var>'s <code
+   <li><p>Remove <var title="">subject</var>'s <code
    title="attr-dialog-open">open</code> attribute.</p></li>
 
    <li><p>If the argument was passed a <var title="">result</var>,
@@ -67811,16 +67811,16 @@
 
    <li>
 
-    <p>If <var title="">dialog</var> is in its <code>Document</code>'s
+    <p>If <var title="">subject</var> is in its <code>Document</code>'s
     <span>pending dialog stack</span>, then run these substeps:</p>
 
     <ol>
 
-     <li><p>Remove <var title="">dialog</var> from that <span>pending
+     <li><p>Remove <var title="">subject</var> from that <span>pending
      dialog stack</span>.</p></li>
 
      <li><p>If that <span>pending dialog stack</span> is not empty,
-     then let <var title="">dialog</var>'s <code>Document</code> be
+     then let <var title="">subject</var>'s <code>Document</code> be
      <span title="blocked by a modal dialog">blocked by the modal
      dialog</span> that is at the top of the <span>pending dialog
      stack</span>. Otherwise, let <var title="">document</var> be no
@@ -67833,7 +67833,7 @@
    <li><p><span>Queue a task</span> to <span>fire a simple
    event</span> named <dfn
    title="event-close"><code>close</code></dfn> at <var
-   title="">dialog</var>.</p></li>
+   title="">subject</var>.</p></li>
 
   </ol>
 
@@ -67863,7 +67863,7 @@
   <hr>
 
   <p>When a user agent is to <dfn>set up the default static
-  position</dfn> of an element <var title="">dialog</var> without an
+  position</dfn> of an element <var title="">subject</var> without an
   anchor, it must set up the element such that its top static
   position, for the purposes of calculating the used value of the
   'top' property, is the value that would place the element's top
@@ -67887,7 +67887,7 @@
   (still without anchors).</p>
 
   <p>When a user agent is to <dfn>set up the position</dfn> of an
-  element <var title="">dialog</var> using an anchor <var
+  element <var title="">subject</var> using an anchor <var
   title="">anchor</var>, it must run the following steps:</p>
 
   <ol>
@@ -67901,7 +67901,7 @@
 
      <li><p>If <var title="">anchor</var>'s target element does not
      have a rendered box, or is in a different document than <var
-     title="">dialog</var>, then abort the <span>set up the
+     title="">subject</var>, then abort the <span>set up the
      position</span> steps.</p></li>
 
      <li><p>Let <var title="">anchor element</var> be an anonymous
@@ -67918,7 +67918,7 @@
 
    </li>
 
-   <li><p>Let <var title="">dialog</var> be <span>magically
+   <li><p>Let <var title="">subject</var> be <span>magically
    aligned</span> to <var title="">anchor element</var>.</p></li>
 
   </ol>
@@ -87417,10 +87417,10 @@
   <span title="concept-command">command</span>.</p>
 
   <p>An entire <code>Document</code> can be marked as <dfn>blocked by
-  a modal dialog</dfn> <var title="">dialog</var>. While a
+  a modal dialog</dfn> <var title="">subject</var>. While a
   <code>Document</code> is so marked, every node that is <span
   title="in a Document">in the <code>Document</code></span>, with the
-  exception of the <var title="">dialog</var> element, its ancestors,
+  exception of the <var title="">subject</var> element, its ancestors,
   and its descendants, must be marked <span>inert</span>. (The
   elements excepted by this paragraph can additionally be marked
   <span>inert</span> through other means; being part of a modal dialog




More information about the Commit-Watchers mailing list