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
<pclass="issue" id="issue-08465960"><aclass="self-link" href="#issue-08465960"></a> Using <aclass="property" data-link-type="propdesc" href="#descdef-media-device-radius">device-radius</a> with just a single value (e.g. device-radius: 50%) is enough (for simplicity)? Otherwise, do we need to support all possible values the same as <aclass="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-backgrounds-3/#border-radius">border-radius</a>? </p>
278
278
<h2class="heading settled" data-level="4" id="aligning-content"><spanclass="secno">4. </span><spanclass="content">Aligning content along the display border</span><aclass="self-link" href="#aligning-content"></a></h2>
<p> CSS Shapes <adata-link-type="biblio" href="#biblio-css-shapes">[CSS-SHAPES]</a> define the <aclass="property" data-link-type="propdesc" href="#propdef-shape-inside">shape-inside</a> property that aligns contents along the edge of a possibly non-rectangular wrapping area. Web authors may use this feature to fit contents inside a round display. However, it could sometimes be hard to specify the wrapping area identical to the shape of a display. Thus, we add a new value '<code>display</code>' to the <aclass="property" data-link-type="propdesc" href="#propdef-shape-inside">shape-inside</a> property to facilitate it. When the <aclass="property" data-link-type="propdesc" href="#propdef-shape-inside">shape-inside</a> property on an element is set to '<code>display</code>', its content (or contained element) is aligned along the display border automatically. </p>
280
+
<p> CSS Shapes <adata-link-type="biblio" href="#biblio-css-shapes">[CSS-SHAPES]</a> define the <aclass="property" data-link-type="propdesc"
281
+
href="#propdef-shape-inside">shape-inside</a> property that aligns contents along the edge of a possibly non-rectangular wrapping area. Web authors may use this feature to fit contents inside a round display. However, it can be challenging to specify the wrapping area to be identical to the shape of a display. To address such cases, <aclass="property" data-link-type="propdesc" href="#propdef-shape-inside">shape-inside</a> is extended with a new value named '<code>display</code>', such an element having this value will have its content (or contained elements) aligned along the display border automatically.
<pclass="caption">Align the content along the display border</p>
345
346
</div>
346
347
</div>
347
-
<p> Even though the shape of the rounded display could be described by circle() or ellipse() as <aclass="production css" data-link-type="type" href="https://drafts.csswg.org/css-shapes-2/#typedef-basic-shape"><basic-shape></a>, 'shape-inside: display' is useful that authors make contents to be aligned within the display edge conveniently. In case of complicated shaped displays like curved, stelliform, or polygonal shape, the availability of 'shape-inside: display' is more increased in comparison with a simple shaped display (e.g. regular rounded display). </p>
348
+
<p> This property is specially useful for complex shapes (e.g. curved, stelliform, polygonal), that wouldn't be covered by <aclass="production css" data-link-type="type" href="https://drafts.csswg.org/css-shapes-2/#typedef-basic-shape"><basic-shape></a> (i.e. circle() or ellipse()), allowing web authors to conveniently align contents with the display edge.
349
+
</p>
348
350
<p> When a containing block is placed on one end of the display and the containing block has 'shape-inside: display', the descendant blocks of the 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 follows. </p>
351
+
349
352
<divstyle="width: 500px;">
350
353
<imgalt="An image of two examples to show the principle of shape-inside: display" src="images/shape_inside_a.png" style="width: 500px">
351
-
<pclass="caption">Align a part of the content along the display border</p>
354
+
<pclass="caption">Align part of the content along the display border</p>
352
355
</div>
353
356
<pclass="issue" id="issue-8d78506c"><aclass="self-link" href="#issue-8d78506c"></a> What if content overflows? Clipping or scrolling? </p>
354
357
<h2class="heading settled" data-level="5" id="drawing-borders"><spanclass="secno">5. </span><spanclass="content">Drawing borders around the display border</span><aclass="self-link" href="#drawing-borders"></a></h2>
<divclass="issue"> How to solve overflowing when an element has <aclass="property" data-link-type="propdesc" href="#propdef-polar-anchor">polar-anchor</a> value as '<code>top</code>', <aclass="property" data-link-type="propdesc" href="#propdef-polar-angle">polar-angle</a> value is 0deg, and <aclass="property" data-link-type="propdesc" href="#propdef-polar-distance">polar-distance</a> is equal to the distance from center to edge of containing block? <ahref="#issue-9a7a089f"> ↵ </a></div>
0 commit comments