You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shapes from Box Values</span><aclass=self-linkhref=#shapes-from-box-values></a></h2>
704
704
705
-
<p> Shapes can be defined by reference to edges in the <ahref=http://www.w3.org/TR/CSS21/box.html#box-dimensions>CSS Box Model</a>. These edges include <ahref=http://www.w3.org/TR/css3-background/#corner-shaping>border-radius curvature</a><adata-biblio-type=normativedata-link-type=bibliohref=#css3bgtitle=css3bg>[CSS3BG]</a>. The definitions of the <dfnclass=css-codedata-dfn-type=typedata-export="" id=typedef-box><aclass="production css-code" data-link-type=typehref=#typedef-boxtitle="<box>"><box></a><aclass=self-linkhref=#typedef-box></a></dfn> values are:
705
+
<p> Shapes can be defined by reference to edges in the <ahref=http://www.w3.org/TR/CSS21/box.html#box-dimensions>CSS Box Model</a>. These edges include <ahref=http://www.w3.org/TR/css3-background/#corner-shaping>border-radius curvature</a><adata-biblio-type=normativedata-link-type=bibliohref=#css3bgtitle=css3bg>[CSS3BG]</a>. The <aclass="production css-code" data-link-type=typehref=#typedef-shape-boxtitle="<shape-box>"><shape-box></a> value extends the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-backgrounds-3/#boxtitle="<box>"><box></a> value to include margin-box. Its syntax is:
The <aclass=propertydata-link-type=propdeschref=#propdef-shape-outsidetitle=shape-outside>shape-outside</a> Property</span><aclass=self-linkhref=#shape-outside-property></a></h3>
778
782
779
-
<tableclass="definition propdef"><tr><th>Name:<td><dfnclass=css-codedata-dfn-type=propertydata-export="" id=propdef-shape-outside>shape-outside<aclass=self-linkhref=#propdef-shape-outside></a></dfn><tr><th>Value:<td>auto | [<aclass="production css-code" data-link-type=typehref=#typedef-basic-shapetitle="<basic-shape>"><basic-shape></a> || <aclass="production css-code" data-link-type=typehref=#typedef-boxtitle="<box>"><box></a>] | <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-images-3/#image-typetitle="<image>"><image></a><tr><th>Initial:<td>auto<tr><th>Applies to:<td>floats<tr><th>Inherited:<td>no<tr><th>Media:<td>visual<tr><th>Computed value:<td>computed lengths for <aclass="production css-code" data-link-type=typehref=#typedef-basic-shapetitle="<basic-shape>"><basic-shape></a>, the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-images-3/#image-typetitle="<image>"><image></a> with its URI made absolute, otherwise as specified<tr><th>Animatable:<td>as <ahref=#basic-shape-interpolation>specified</a> for <aclass="production css-code" data-link-type=typehref=#typedef-basic-shapetitle="<basic-shape>"><basic-shape></a>, otherwise no</table>
783
+
<tableclass="definition propdef"><tr><th>Name:<td><dfnclass=css-codedata-dfn-type=propertydata-export="" id=propdef-shape-outside>shape-outside<aclass=self-linkhref=#propdef-shape-outside></a></dfn><tr><th>Value:<td>auto | [ <aclass="production css-code" data-link-type=typehref=#typedef-basic-shapetitle="<basic-shape>"><basic-shape></a> || <aclass="production css-code" data-link-type=typehref=#typedef-shape-boxtitle="<shape-box>"><shape-box></a> ] | <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-images-3/#image-typetitle="<image>"><image></a><tr><th>Initial:<td>auto<tr><th>Applies to:<td>floats<tr><th>Inherited:<td>no<tr><th>Media:<td>visual<tr><th>Computed value:<td>computed lengths for <aclass="production css-code" data-link-type=typehref=#typedef-basic-shapetitle="<basic-shape>"><basic-shape></a>, the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-images-3/#image-typetitle="<image>"><image></a> with its URI made absolute, otherwise as specified<tr><th>Animatable:<td>as <ahref=#basic-shape-interpolation>specified</a> for <aclass="production css-code" data-link-type=typehref=#typedef-basic-shapetitle="<basic-shape>"><basic-shape></a>, otherwise no</table>
780
784
<p> The values of this property have the following meanings:
of <aclass=cssdata-link-type=maybehref=#funcdef-insettitle=inset()>inset()</a>, <aclass=cssdata-link-type=maybehref=#funcdef-circletitle=circle()>circle()</a>, <aclass=cssdata-link-type=maybehref=#funcdef-ellipsetitle=ellipse()>ellipse()</a>
805
-
or <aclass=cssdata-link-type=maybehref=#funcdef-polygontitle=polygon()>polygon()</a>. If a <aclass="production css-code" data-link-type=typehref=#typedef-boxtitle="<box>"><box></a> is also supplied, this defines the <adata-link-type=dfnhref=#reference-boxtitle="reference box">reference box</a> for the <aclass="production css-code" data-link-type=typehref=#typedef-basic-shapetitle="<basic-shape>"><basic-shape></a> function. If <aclass="production css-code" data-link-type=typehref=#typedef-boxtitle="<box>"><box></a> is not supplied, then the <adata-link-type=dfnhref=#reference-boxtitle="reference box">reference box</a> defaults to <aclass=cssdata-link-type=maybehref=#margin-boxtitle=margin-box>margin-box</a>.
809
+
or <aclass=cssdata-link-type=maybehref=#funcdef-polygontitle=polygon()>polygon()</a>. If a <aclass="production css-code" data-link-type=typehref=#typedef-shape-boxtitle="<shape-box>"><shape-box></a> is also supplied, this defines the <adata-link-type=dfnhref=#reference-boxtitle="reference box">reference box</a> for the <aclass="production css-code" data-link-type=typehref=#typedef-basic-shapetitle="<basic-shape>"><basic-shape></a> function. If <aclass="production css-code" data-link-type=typehref=#typedef-shape-boxtitle="<shape-box>"><shape-box></a> is not supplied, then the <adata-link-type=dfnhref=#reference-boxtitle="reference box">reference box</a> defaults to <aclass=cssdata-link-type=maybehref=#margin-boxtitle=margin-box>margin-box</a>.
<tr><thscope=row><adata-property="">shape-outside</a><td>auto | [<basic-shape> || <box>] | <image><td>auto<td>floats<td>no<td><td>visual<td>as specified for <basic-shape>, otherwise no<td>computed lengths for <basic-shape>, the <image> with its URI made absolute, otherwise as specified
1195
+
<tr><thscope=row><adata-property="">shape-outside</a><td>auto | [<basic-shape> || <shape-box>] | <image><td>auto<td>floats<td>no<td><td>visual<td>as specified for <basic-shape>, otherwise no<td>computed lengths for <basic-shape>, the <image> with its URI made absolute, otherwise as specified
1191
1196
<tr><thscope=row><adata-property="">shape-image-threshold</a><td><number><td>0.0<td>floats<td>no<td><td>visual<td>as number<td>The same as the specified value after clipping the <number> to the range [0.0,1.0]
1192
1197
<tr><thscope=row><adata-property="">shape-margin</a><td><length> | <percentage><td>0<td>floats<td>no<td><td>visual<td>as length, percentage, or calc.<td>the absolute length</table></div>
Copy file name to clipboardExpand all lines: css-shapes/Overview.src.html
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -585,7 +585,13 @@ <h2 id="shapes-from-image">
585
585
<h2id="shapes-from-box-values">
586
586
Shapes from Box Values</h2>
587
587
588
-
Shapes can be defined by reference to edges in the <ahref="http://www.w3.org/TR/CSS21/box.html#box-dimensions">CSS Box Model</a>. These edges include <ahref="http://www.w3.org/TR/css3-background/#corner-shaping">border-radius curvature</a> [[!CSS3BG]]. The definitions of the <dfn><<box>></dfn> values are:
588
+
Shapes can be defined by reference to edges in the <ahref="http://www.w3.org/TR/CSS21/box.html#box-dimensions">CSS Box Model</a>. These edges include <ahref="http://www.w3.org/TR/css3-background/#corner-shaping">border-radius curvature</a> [[!CSS3BG]]. The <<shape-box>> value extends the <<box>> value to include margin-box. Its syntax is:
or ''polygon()''. If a <<box>> is also supplied, this defines the <a>reference box</a> for the <<basic-shape>> function. If <<box>> is not supplied, then the <a>reference box</a> defaults to ''margin-box''.
706
+
or ''polygon()''. If a <<shape-box>> is also supplied, this defines the <a>reference box</a> for the <<basic-shape>> function. If <<shape-box>> is not supplied, then the <a>reference box</a> defaults to ''margin-box''.
0 commit comments