Skip to content

Commit 333f044

Browse files
committed
[css-box-3] Fold in SVG weirdness. w3c#4662
1 parent 7819d61 commit 333f044

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

css-box-3/Overview.bs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,20 @@ Box-edge Keywords {#keywords}
233233

234234
<dt><dfn>view-box</dfn>
235235
<dd>
236-
Refers to the nearest [=SVG viewport=].
236+
Refers to the nearest [=SVG viewport=]’s
237+
<dfn dfn lt="SVG viewport origin box">origin box</dfn>,
238+
which is a rectangle with the width and height
239+
of the [=SVG viewport=],
240+
positioned such that its top left corner is anchored
241+
at the coordinate system origin.
237242
(In a CSS box context, treated as ''<box>/border-box''.)
243+
244+
Note: When the [=SVG viewport=]
245+
is not itself anchored at the origin,
246+
this [=origin box=] does not actually correspond
247+
to the [=SVG viewport=]!
248+
<!-- This is a legacy compat requirement.
249+
See https://github.com/w3c/csswg-drafts/issues/4662 -->
238250
</dl>
239251

240252
For convenience, the following value types are defined:

0 commit comments

Comments
 (0)