forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
css-module-shapes.xml
21 lines (17 loc) · 1.63 KB
/
css-module-shapes.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="utf-8"?>
<CssModule name="Shapes" standard-reference="http://www.w3.org/TR/css-shapes-1/" status="CR" pub-date="2014-03-20">
<CssPropertyValue type="basic-shape">
<entry value="inset()" />
<entry value="circle()" />
<entry value="ellipse()" />
<entry value="polygon()" />
</CssPropertyValue>
<CssProperty name="shape-outside" version="3.0" browsers="none" type="box, basic-shape" syntax="div { $(name): margin-box; }" description="This property specifies an orthogonal rotation to be applied to an image before it is laid out." standard-reference="http://www.w3.org/TR/css-shapes-1/#shape-outside-property">
<entry value="none" />
<entry value="margin-box" />
<entry value="image()" />
<entry value="url()" />
</CssProperty>
<CssProperty name="shape-image-threshold" version="3.0" browsers="none" restriction="number" syntax="div { $(name): 0.5; }" description="Defines the alpha channel threshold used to extract the shape using an image. A value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque." standard-reference="http://www.w3.org/TR/css-shapes-1/#propdef-shape-image-threshold" />
<CssProperty name="shape-margin" version="3.0" browsers="none" restriction="length, percentage" syntax="div { $(name): 10px; }" description="Adds a margin to a 'shape-outside'. This defines a new shape that is the smallest contour that includes all the points that are the 'shape-margin' distance outward in the perpendicular direction from a point on the underlying shape." standard-reference="http://www.w3.org/TR/css-shapes-1/#propdef-shape-margin" />
</CssModule>