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
Computed Values of Basic Shapes</span><aclass=self-linkhref=#basic-shape-computed-values></a></h3>
586
+
587
+
<p> The values in a <aclass="production css-code" data-link-type=typehref=#typedef-basic-shapetitle="<basic-shape>"><basic-shape></a> function are computed as specified, with these exceptions:
588
+
589
+
<p><ul>
590
+
<li>
591
+
Omitted values are included and compute to their defaults
592
+
</li>
593
+
<li>
594
+
A <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#position-valuetitle="<position>"><position></a> value in <aclass=cssdata-link-type=maybehref=#funcdef-circletitle=circle()>circle()</a> or <aclass=cssdata-link-type=maybehref=#funcdef-ellipsetitle=ellipse()>ellipse()</a> is computed as a pair of offsets (horizontal and vertical) from the top left origin each given as a combination of an absolute length and a percentage
595
+
</li>
596
+
<li>
597
+
A <<aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-backgrounds-3/#border-radiustitle=border-radius>border-radius</a>> value in <aclass=cssdata-link-type=maybehref=#funcdef-insettitle=inset()>inset()</a> is computed as an expanded list of all eight <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#length-valuetitle="<length>"><length></a> or percentage values.
Serialization of Basic Shapes</span><aclass=self-linkhref=#basic-shape-serialization></a></h3>
603
+
604
+
<p> To serialize the <aclass="production css-code" data-link-type=typehref=#typedef-basic-shapetitle="<basic-shape>"><basic-shape></a> functions, serialize as per their individual grammars, in the order the grammars are written in, omitting components when possible without changing the meaning, joining space-separated tokens with a single space, and following each serialized comma with a single space.
The <aclass=propertydata-link-type=propdeschref=#propdef-shape-outsidetitle=shape-outside>shape-outside</a> Property</span><aclass=self-linkhref=#shape-outside-property></a></h3>
816
840
817
-
<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>none | [ <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>none<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>
841
+
<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>none | [ <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>none<tr><th>Applies to:<td>floats<tr><th>Inherited:<td>no<tr><th>Media:<td>visual<tr><th>Computed value:<td>as <ahref=#basic-shape-computed-values>defined</a> 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>
818
842
<p> The values of this property have the following meanings:
<tr><thscope=row><adata-property="">shape-outside</a><td>none | [ <basic-shape> || <shape-box> ] | <image><td>none<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
1256
+
<tr><thscope=row><adata-property="">shape-outside</a><td>none | [ <basic-shape> || <shape-box> ] | <image><td>none<td>floats<td>no<td><td>visual<td>as specified for <basic-shape>, otherwise no<td>as defined for <basic-shape>, the <image> with its URI made absolute, otherwise as specified
1232
1257
<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]
1233
1258
<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>
The values in a <<basic-shape>> function are computed as specified, with these exceptions:
467
+
468
+
<ul>
469
+
<li>
470
+
Omitted values are included and compute to their defaults
471
+
</li>
472
+
<li>
473
+
A <<position>> value in ''circle()'' or ''ellipse()'' is computed as a pair of offsets (horizontal and vertical) from the top left origin each given as a combination of an absolute length and a percentage
474
+
</li>
475
+
<li>
476
+
A <'border-radius'> value in ''inset()'' is computed as an expanded list of all eight <<length>> or percentage values.
477
+
</li>
478
+
</ul>
479
+
480
+
<h3id='basic-shape-serialization'>
481
+
Serialization of Basic Shapes</h3>
482
+
483
+
To serialize the <<basic-shape>> functions, serialize as per their individual grammars, in the order the grammars are written in, omitting components when possible without changing the meaning, joining space-separated tokens with a single space, and following each serialized comma with a single space.
Computed Value: computed lengths for <<basic-shape>>, the <<image>> with its URI made absolute, otherwise as specified
734
+
Computed Value: as <ahref="#basic-shape-computed-values">defined</a> for <<basic-shape>>, the <<image>> with its URI made absolute, otherwise as specified
713
735
Media: visual
714
736
Animatable: as <ahref="#basic-shape-interpolation">specified</a> for <<basic-shape>>, otherwise no
0 commit comments