From dcc017b8fb47eefc535398a00f4b70c1f8bb5cf8 Mon Sep 17 00:00:00 2001 From: James Graham Date: Wed, 14 Jul 2021 12:23:44 +0100 Subject: [PATCH] Clean up arguments to "getting a property" --- index.html | 43 ++++++++++++++++++++----------------------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/index.html b/index.html index bc414947..afd9daa7 100644 --- a/index.html +++ b/index.html @@ -3872,15 +3872,15 @@

Set Window Rect

The Set Window Rect command alters the size and the position of the operating system window -corresponding to the current top-level browsing context. +corresponding to session's current top-level browsing context.

The remote end steps, given session, URL variables and parameters are:

  1. Let width be the result of - getting a property named width - from the parameters argument, else let it be null. + getting a property named "width" + from parameters, else let it be null.

  2. Let height be the result of getting a property named "height" @@ -4208,9 +4208,8 @@

    Elements

    return error with error code invalid argument.
  3. Let reference be the result of - getting - the web element identifier property - from object. + getting the web element + identifier property from object.

  4. Let element be the result of trying to get a known element @@ -7597,25 +7596,25 @@

    State

    continue to the first step of this loop.
  5. Let key state pressed be the result of getting - a property named pressed from source. + a property named "pressed" from source.

  6. Add all strings from key state pressed to pressed.

  7. Let alt be a logical OR of alt and the - result of getting a property named alt + result of getting a property named "alt" from source.
  8. Let ctrl be a logical OR of ctrl and the - result of getting a property named ctrl + result of getting a property named "ctrl" from source.
  9. Let meta be a logical OR of meta and the - result of getting a property named meta + result of getting a property named "meta" from source.
  10. Let shift be a logical OR of shift and the - result of getting a property named shift + result of getting a property named "shift" from source.
@@ -7765,7 +7764,7 @@

Processing actions

  1. Let type be the result of getting a property - named type from action sequence. + named "type" from action sequence.

  2. If type is not "key", "pointer", @@ -7836,7 +7835,7 @@

    Processing actions

    return an error with error code invalid argument.
  3. Let action items be the result of getting a - property named actions from + property named "actions" from action sequence.

  4. If action items is not an Array, @@ -7898,7 +7897,7 @@

    Processing actions

  5. Let pointer type be the result -of getting a property named pointerType +of getting a property named "pointerType" from parameters data.

  6. @@ -7935,7 +7934,7 @@

    Processing actions

    1. Let subtype be the result of getting a property -named type from action item. +named "type" from action item.

    2. If subtype is not "pause", @@ -7964,7 +7963,7 @@

      Processing actions

      1. Let subtype be the result of getting a property -named type from action item. +named "type" from action item.

      2. If subtype is not one of the values @@ -7986,10 +7985,8 @@

        Processing actions

        action item and action, and return result. -
      3. -Let key be the result -of getting a property named value -from action item. +

      4. Let key be the result of getting a property +named "value" from action item.

      5. If key is not a String containing a single unicode code point @@ -8013,7 +8010,7 @@

        Processing actions

        1. Let subtype be the result -of getting a property named type +of getting a property named "type" from action item.

        2. @@ -8072,7 +8069,7 @@

          Processing actions

          1. Let subtype be the result -of getting a property named type +of getting a property named "type" from action item.

          2. @@ -8096,7 +8093,7 @@

            Processing actions

          3. Let duration be the result of getting a property -named duration from action item. +named "duration" from action item.

          4. If duration is not undefined and duration