diff --git a/geometry/Overview.bs b/geometry/Overview.bs index fadd2a14..2190201d 100644 --- a/geometry/Overview.bs +++ b/geometry/Overview.bs @@ -372,6 +372,29 @@ steps: +

The DOMRectList interface

+ +
+[NoInterfaceObject,
+ LegacyArrayClass]
+interface DOMRectList {
+    readonly attribute unsigned long length;
+    getter DOMRect? item(unsigned long index);
+};
+
+ +The length attribute must return the total +number of {{DOMRect}} objects associated with the object. + +The item(index) method, when invoked, must +return ''null'' when index is greater than or equal to the number of {{DOMRect}} objects +associated with the {{DOMRectList}}. Otherwise, the {{DOMRect}} object at index must be +returned. Indices are zero-based. + +ADVISEMENT: {{DOMRectList}} only exists for compatibility with legacy Web content. When specifying a +new API, {{DOMRectList}} must not be used. Use sequence<DOMRect> instead. [[WEBIDL]] + +

The DOMQuad interface

Objects implementing the {{DOMQuad}} interface represents a quadrilateral. @@ -2087,8 +2110,6 @@ href="https://www.w3.org/TR/2014/WD-geometry-1-20140918/">18 September 2014 Work

  • Introduced the {{DOMMatrixInit}} dictionary. -

  • Removed the DOMRectList interface. -

  • Added JSON serializers for the interfaces.

  • @@ -2142,9 +2163,10 @@ Draft.
  • {{DOMMatrixReadOnly}} got a constructor taking a sequence of numbers as argument. -

  • DOMRectList turned to an ArrayClass. The interfaces can just be used for legacy interfaces. +

  • {{DOMRectList}} turned to an ArrayClass. The interfaces can just be used for legacy + interfaces. -

  • Put DOMRectList on at-Risk awaiting browser feedback. +

  • Put {{DOMRectList}} on at-Risk awaiting browser feedback.

  • All interfaces are described in the sense of internal elements to describe the read-only/writable and inheriting behavior.