Skip to content

Commit 462fdd1

Browse files
committed
clarify shape-margin and float area interaction
1 parent 420269e commit 462fdd1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

css-shapes-1/Overview.bs

+9-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ Terminology</h3>
116116
the <a>float area</a> produced
117117
by the ''margin-box'' value,
118118
which includes border-radius curvature).
119-
This specification's 'shape-outside' property
119+
This specification's 'shape-outside'
120+
and 'shape-margin' properties
120121
can be used to define an arbitrary,
121122
non-rectangular <a>float area</a>.
122123

@@ -1035,6 +1036,12 @@ Expanding a Shape: the 'shape-margin' property</h3>
10351036
take all points
10361037
on the circle centered at the point
10371038
and with a radius of 'shape-margin'.
1039+
1040+
The new shape produced by applying 'shape-outside'
1041+
is what determines the <a>float area</a>,
1042+
and must be constructed
1043+
before making any <a>wrap</a> decisions.
1044+
10381045
This property takes only non-negative values.
10391046

10401047
<pre class='propdef'>
@@ -1168,6 +1175,7 @@ Change Log</h2>
11681175
<ul>
11691176
<li>Added vertex rounding for polygon() for <a href="https://github.com/w3c/csswg-drafts/issues/9843">issue #9843</a> </li>
11701177
<li>Updated shape-outside prose to include all <<basic-shape>>s for <a href="https://github.com/w3c/csswg-drafts/issues/9728">issue #9728</a> </li>
1178+
<li>Clarified the shape-margin contribution to float areas for <a href="https://github.com/w3c/csswg-drafts/issues/2949">issue #2949</a> </li>
11711179
</ul>
11721180

11731181
<h3 class="no-num" id="20140320">

0 commit comments

Comments
 (0)