File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -344,6 +344,36 @@ interface ResizeObservation {
344344
345345 3. Return false.
346346
347+ : <dfn method lt="computeSize(size)">computeSize(size)</dfn>
348+ ::
349+ 1. If |target| is not an SVG element
350+
351+ 1. If |size| is "bounding-box"
352+
353+ 1. Set |computedSize|.inlineSize to target's border-box inline size.
354+
355+ 2. Set |computedSize|.blockSize to target's border-box block size.
356+
357+ 2. If |size| is "content-box"
358+
359+ 1. Set |computedSize|.inlineSize to target's content-box inline size.
360+
361+ 2. Set |computedSize|.blockSize to target's content-box block size.
362+
363+ 3. If |size| is "scoll-box"
364+
365+ 1. Set |computedSize|.inlineSize to target's scrollport inline size.
366+
367+ 2. Set |computedSize|.blockSize to target's scrollport block size.
368+
369+ 2. If |target| is an SVG element
370+
371+ 1. Set |computedSize|.inlineSize to target's bounding box inline size.
372+
373+ 2. Set |computedSize|.blockSize to target's bounding box block size.
374+
375+ 3. return |computedSize|
376+
347377</div>
348378
349379<h2 id="processing-model">Processing Model</h2>
You can’t perform that action at this time.
0 commit comments