@@ -47,6 +47,8 @@ urlPrefix: https://drafts.csswg.org/css-box-3/
47
47
url: #content-area; type: dfn; text: content area
48
48
urlPrefix: https://www.w3.org/TR/cssom-view-1/
49
49
url: #dom-window-devicepixelratio; type: dfn; text: devicePixelRatio
50
+ urlPrefix: https://heycam.github.io/webidl/
51
+ url: #idl-frozen-array; type: dfn; text: FrozenArray
50
52
51
53
</pre>
52
54
<pre class=link-defaults>
@@ -250,9 +252,9 @@ This callback delivers {{ResizeObserver}}'s notifications. It is invoked by a
250
252
interface ResizeObserverEntry {
251
253
readonly attribute Element target;
252
254
readonly attribute DOMRectReadOnly contentRect;
253
- readonly attribute sequence <ResizeObserverSize> borderBoxSize;
254
- readonly attribute sequence <ResizeObserverSize> contentBoxSize;
255
- readonly attribute sequence <ResizeObserverSize> devicePixelContentBoxSize;
255
+ readonly attribute FrozenArray <ResizeObserverSize> borderBoxSize;
256
+ readonly attribute FrozenArray <ResizeObserverSize> contentBoxSize;
257
+ readonly attribute FrozenArray <ResizeObserverSize> devicePixelContentBoxSize;
256
258
};
257
259
</pre>
258
260
@@ -267,24 +269,24 @@ interface ResizeObserverEntry {
267
269
{{Element}} 's <a>content rect</a> when {{ResizeObserverCallback}} is invoked.
268
270
: <dfn>borderBoxSize</dfn>
269
271
::
270
- A sequence containing the {{Element}} 's <a>border box</a> size when {{ResizeObserverCallback}} is invoked.
272
+ A {{FrozenArray}} containing the {{Element}} 's <a>border box</a> size when {{ResizeObserverCallback}} is invoked.
271
273
: <dfn>contentBoxSize</dfn>
272
274
::
273
- A sequence containing the {{Element}} 's <a>content rect</a> size when {{ResizeObserverCallback}} is invoked.
275
+ A {{FrozenArray}} containing the {{Element}} 's <a>content rect</a> size when {{ResizeObserverCallback}} is invoked.
274
276
: <dfn>devicePixelContentBoxSize</dfn>
275
277
::
276
- A sequence containing the {{Element}} 's <a>content rect</a> size in integral device pixels when {{ResizeObserverCallback}} is invoked.
278
+ A {{FrozenArray}} containing the {{Element}} 's <a>content rect</a> size in integral device pixels when {{ResizeObserverCallback}} is invoked.
277
279
278
280
</div>
279
281
280
282
<p class="note">
281
- The box size properties are exposed as sequences in order to support elements that have multiple fragments,
283
+ The box size properties are exposed as {{FrozenArray}} in order to support elements that have multiple fragments,
282
284
which occur in <a>multi-column</a> scenarios.
283
285
However the current definitions of <a>content rect</a> and <a>border box</a>
284
286
do not mention how those boxes are affected by <a>multi-column</a> layout.
285
- In this spec, there will only be a single ResizeObserverSize returned in the sequences ,
287
+ In this spec, there will only be a single ResizeObserverSize returned in the {{FrozenArray}} ,
286
288
which will correspond to the dimensions of the first column.
287
- A future version of this spec will extend the returned sequences to contain the per-fragment size information.
289
+ A future version of this spec will extend the returned {{FrozenArray}} to contain the per-fragment size information.
288
290
</p>
289
291
290
292
<pre class="idl">
0 commit comments