File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -529,10 +529,18 @@ elements do not use standard CSS box model.
529529To <dfn>calculate box size</dfn> , given |target| and |observedBox|, run these steps:
530530
531531 1. If |target| is an {{SVGGraphicsElement}}
532+
533+ 1. If |observedBox| is "border-box" or "content-box"
532534
533- 1. Set |computedSize|.inlineSize to |target|'s <a>bounding box</a> inline length.
535+ 1. Set |computedSize|.inlineSize to |target|'s <a>bounding box</a> inline length.
534536
535- 2. Set |computedSize|.blockSize to |target|'s <a>bounding box</a> block length.
537+ 2. Set |computedSize|.blockSize to |target|'s <a>bounding box</a> block length.
538+
539+ 2. 1. If |observedBox| is "device-pixel-content-box"
540+
541+ 1. Set |computedSize|.inlineSize to |target|'s <a>bounding box</a> inline length, in integral device pixels.
542+
543+ 2. Set |computedSize|.blockSize to |target|'s <a>bounding box</a> block length, in integral device pixels.
536544
537545 2. If |target| is not an {{SVGGraphicsElement}}
538546
You can’t perform that action at this time.
0 commit comments