Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up arguments to "getting a property"
Browse files Browse the repository at this point in the history
jgraham committed Jul 14, 2021
1 parent 251a97b commit dcc017b
Showing 1 changed file with 20 additions and 23 deletions.
43 changes: 20 additions & 23 deletions index.html
Original file line number Diff line number Diff line change
@@ -3872,15 +3872,15 @@ <h4><dfn>Set Window Rect</dfn></h4>
<p class=note>
The <a>Set Window Rect</a> <a>command</a>
alters the size and the position of the operating system window
corresponding to the <a>current top-level browsing context</a>.
corresponding to <var>session</a>'s <a>current top-level browsing context</a>.

<p>The <a>remote end steps</a>, given <var>session</var>, <var>URL
variables</var> and <var>parameters</var> are:

<ol>
<li><p>Let <var>width</var> be the result of
<a>getting a property</a> named <code>width</code>
from the <var>parameters</var> argument, else let it be <a><code>null</code></a>.
<a>getting a property</a> named "<code>width</code>"
from <var>parameters</var>, else let it be <a><code>null</code></a>.

<li><p>Let <var>height</var> be the result of
<a>getting a property</a> named "<code>height</code>"
@@ -4208,9 +4208,8 @@ <h2>Elements</h2>
return <a>error</a> with <a>error code</a> <a>invalid argument</a>.

<li><p>Let <var>reference</var> be the result of
<a data-lt="getting a property">getting</a>
the <a>web element identifier</a> property
from <var>object</var>.
<a data-lt="getting a property">getting</a> the <a>web element
identifier</a> property from <var>object</var>.

<li><p>Let <var>element</var> be the result
of <a>trying</a> to <a>get a known element</a>
@@ -7597,25 +7596,25 @@ <h4 id=input-source-state>State</h4>
continue to the first step of this loop.

<li><p>Let <var>key state pressed</var> be the result of <a>getting
a property</a> named <code>pressed</code> from <var>source</var>.
a property</a> named "<code>pressed</code>" from <var>source</var>.

<li><p>Add all strings from <var>key state pressed</var>
to <var>pressed</var>.

<li>Let <var>alt</var> be a logical OR of <var>alt</var> and the
result of <a>getting a property</a> named <code>alt</code>
result of <a>getting a property</a> named "<code>alt</code>"
from <var>source</var>.

<li>Let <var>ctrl</var> be a logical OR of <var>ctrl</var> and the
result of <a>getting a property</a> named <code>ctrl</code>
result of <a>getting a property</a> named "<code>ctrl</code>"
from <var>source</var>.

<li>Let <var>meta</var> be a logical OR of <var>meta</var> and the
result of <a>getting a property</a> named <code>meta</code>
result of <a>getting a property</a> named "<code>meta</code>"
from <var>source</var>.

<li>Let <var>shift</var> be a logical OR of <var>shift</var> and the
result of <a>getting a property</a> named <code>shift</code>
result of <a>getting a property</a> named "<code>shift</code>"
from <var>source</var>.
</ol>

@@ -7765,7 +7764,7 @@ <h3>Processing actions</h3>

<ol>
<li><p>Let <var>type</var> be the result of <a>getting a property</a>
named <code>type</code> from <var>action sequence</var>.
named "<code>type</code>" from <var>action sequence</var>.

<li><p>If <var>type</var> is
not "<code>key</code>", "<code>pointer</code>",
@@ -7836,7 +7835,7 @@ <h3>Processing actions</h3>
return an <a>error</a> with <a>error code</a> <a>invalid argument</a>.

<li><p>Let <var>action items</var> be the result of <a>getting a
property</a> named <code>actions</code> from
property</a> named "<code>actions</code>" from
<var>action sequence</var>.

<li><p>If <var>action items</var> is not an <a>Array</a>,
@@ -7898,7 +7897,7 @@ <h3>Processing actions</h3>

<li><p>
Let <var>pointer type</var> be the result
of <a>getting a property</a> named <code>pointerType</code>
of <a>getting a property</a> named "<code>pointerType</code>"
from <var>parameters data</var>.

<li><p>
@@ -7935,7 +7934,7 @@ <h3>Processing actions</h3>
<ol>
<li><p>
Let <var>subtype</var> be the result of <a>getting a property</a>
named <code>type</code> from <var>action item</var>.
named "<code>type</code>" from <var>action item</var>.

<li><p>
If <var>subtype</var> is not "<code>pause</code>",
@@ -7964,7 +7963,7 @@ <h3>Processing actions</h3>
<ol>
<li><p>
Let <var>subtype</var> be the result of <a>getting a property</a>
named <code>type</code> from <var>action item</var>.
named "<code>type</code>" from <var>action item</var>.

<li><p>
If <var>subtype</var> is not one of the values
@@ -7986,10 +7985,8 @@ <h3>Processing actions</h3>
<var>action item</var> and <var>action</var>,
and return <var>result</var>.

<li><p>
Let <var>key</var> be the result
of <a>getting a property</a> named <code>value</code>
from <var>action item</var>.
<li><p> Let <var>key</var> be the result of <a>getting a property</a>
named "<code>value</code>" from <var>action item</var>.

<li><p>
If <var>key</var> is not a <a>String</a> containing a single <a>unicode code point</a>
@@ -8013,7 +8010,7 @@ <h3>Processing actions</h3>
<ol>
<li><p>
Let <var>subtype</var> be the result
of <a>getting a property</a> named <code>type</code>
of <a>getting a property</a> named "<code>type</code>"
from <var>action item</var>.

<li><p>
@@ -8072,7 +8069,7 @@ <h3>Processing actions</h3>
<ol>
<li><p>
Let <var>subtype</var> be the result
of <a>getting a property</a> named <code>type</code>
of <a>getting a property</a> named "<code>type</code>"
from <var>action item</var>.

<li><p>
@@ -8096,7 +8093,7 @@ <h3>Processing actions</h3>

<li><p>
Let <var>duration</var> be the result of <a>getting a property</a>
named <code>duration</code> from <var>action item</var>.
named "<code>duration</code>" from <var>action item</var>.

<li><p>
If <var>duration</var> is not <a>undefined</a> and <var>duration</var>

0 comments on commit dcc017b

Please sign in to comment.