Skip to content

Commit 333442e

Browse files
committed
Update 'shape-inside: display' description (2)
1 parent 0e2cd7f commit 333442e

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

css-round-display/Overview.bs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@ spec:css21; type:type; text:<uri>
168168
Computed value: computed lengths for <<basic-shape>>, the absolute URI for <<uri>>, otherwise as specified
169169
Animatable: as specified for <<basic-shape>>, otherwise no
170170
</pre>
171-
The example below shows how the 'shape-inside' property works when it is set to '<code>display</code>'.
171+
<p>
172+
The example below shows how the 'shape-inside' property works when it is set to '<code>display</code>'. Without using Mediaqueries, contents can be aligned within the display edge.
173+
</p>
172174
<div class='example'>
173175
<pre>&lt;style>
174176

@@ -188,6 +190,9 @@ The example below shows how the 'shape-inside' property works when it is set to
188190
simple box with a circle shape-inside.
189191
&lt;/p>
190192
&lt;/div>
193+
<br />
194+
<p>-------------------------------------------------------------</p>
195+
<br />
191196
</pre>
192197
<div style="width: 500px; height: 380px; text-align:center">
193198
<div style="float: left; width: 230px;">
@@ -203,8 +208,12 @@ The example below shows how the 'shape-inside' property works when it is set to
203208
<p class="caption">Align the content along the display border</p>
204209
</div>
205210
</div>
211+
<p>
206212
Even though the shape of a rounded display could be described by circle() or ellipse() in <basic-shape>, 'shape-inside: display' is useful that authors make contents to be aligned within the display edge conveniently. In case complicated shaped display like curved, stelliform, or polygonal shape, The availability of 'shape-inside: display' is more increased in comparison with a simple shaped display.
213+
</p>
214+
<p>
207215
When the containing block is placed on one end of the display and the block has 'shape-inside: display', The descendants of containing block are basically put on the overlapping region between the containing block and the display area. The overlapping region's shape is mostly complicated shape, so it's difficult to define the shape using previous method like <basic-shape>. The figure 4 describes these circumstances as follow.
216+
</p>
208217
<div style="width: 500px;">
209218
<img style="width: 500px" src="images/ex3.png">
210219
<p class="caption">Align a part of the content along the display border</p>

0 commit comments

Comments
 (0)