diff --git a/index.html b/index.html index 91770c8e1..09dfb57ad 100644 --- a/index.html +++ b/index.html @@ -708,18 +708,26 @@

Extensions

Terminology

-

In equations, all numbers are integers, - addition is represented by “+”, - subtraction is represented by “−”, - and bitwise OR by “|”. - The characters “(” and “)” are used to provide logical grouping in these contexts. - -

The shorthand - min(value, value[, value]) - returns the smallest item of two or more values. - Conversely, the shorthand - max(value, value[, value]) - returns the largest item of two or more values. +

+In equations, all numbers are integers, +addition is represented by “+”, +subtraction by “−”, +division by “÷”, +and bitwise OR by “|”. +The characters “(” and “)” are used to provide logical grouping in these contexts. + +

+The mathematical function +min(value, value[, value]) +returns the smallest item of two or more values. +Conversely, the function +max(value, value[, value]) +returns the largest item of two or more values. + +

+The mathematical function floor(value) +produces the largest integer, closest to positive infinity, +that is not larger than value.

A Universally Unique IDentifier (UUID) is a 128 bits long URN that requires no central registration process. [[!RFC4122]]. @@ -4501,28 +4509,28 @@

Element Interactability

returned by calling getClientRects on element.
  • Let left be - (max(0, min(x coordinate, - x coordinate + width dimension))). + max(0, min(x coordinate, + x coordinate + width dimension)).

  • Let right be - (min(innerWidth, + min(innerWidth, max(x coordinate, - x coordinate + width dimension))). + x coordinate + width dimension)).

  • Let top be - (max(0, min(y coordinate, - y coordinate + height dimension))). + max(0, min(y coordinate, + y coordinate + height dimension)).

  • Let bottom be - (min(innerHeight, + min(innerHeight, max(y coordinate, - y coordinate + height dimension))). + y coordinate + height dimension)). -

  • Let x be (0.5 × (left + right)). +

  • Let x be floor((left + right) ÷ 2.0). -

  • Let y be (0.5 × (top + bottom)). +

  • Let y be floor((top + bottom) ÷ 2.0). -

  • Return x and y as a pair. +

  • Return the pair of (x, y).

    An element is in view