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
@@ -416,6 +416,13 @@ Values have the following meanings:
416
416
<dt><<angle>></dt>
417
417
<dd>
418
418
The path is a straight line that starts from the current position of the element and has the degree of the angle as specified in <<angle>> from the Y-axis. The path ends at the edge of the containing block.
419
+
420
+
<dl>
421
+
<dt><dfn>contain</dfn></dt>
422
+
<dd>
423
+
Adjust the value of 'offset-distance' when the element goes out of the path. When overflowing occurs, the distance value is reduced, until the end point of the path is on the edge of the element.
424
+
</dd>
425
+
</dl>
419
426
420
427
<p class="note">Note: Defining the path with <<angle>>, the element can be positioned in the polar coordinate system. In polar coordinates, a pole is the reference point and points are described as been a certain distance from it, as also a certain angle from the polar axis. In mathematical theory, the polar axis is commonly defined as the positive direction of the x-axis, but we consider the polar axis as the positive direction of the y-axis position as other CSS specifications usually do. Therefore, when the <<angle>> value of 'offset-path' is 0, the element is positioned on the y-axis. If the <<angle>> value increases in the positive direction from 0, the element moves clockwise. The method to determine a direction using the <<angle>> value for 'offset-path' works the same way in [[!CSS3VAL]], <<angle>> value.</p>
421
428
</dd>
@@ -454,6 +461,38 @@ For SVG elements without associated CSS layout box, the <a>used value</a> for <a
454
461
455
462
For elements with associated CSS layout box, the <a>used value</a> for <a value for=clip-path>fill-box</a>, <a value for=clip-path>stroke-box</a> and <a value for=clip-path>view-box</a> is <a value for=mask-clip>border-box</a>.
456
463
464
+
<div class='example'>
465
+
Here are some examples. The first example shows some parts of elements are outside of the path.
@@ -570,10 +609,6 @@ Values are defined as follows:
570
609
</dl>
571
610
<p class='note'>Note: When the initial position is at one of the corners of the containing block, the closest side takes the edge where the initial position is on. Even if the offset given by <<length>> or <<percentage>> changes, the position of the element specified with closest-side is the same.</p>
572
611
</dd>
573
-
<dt><dfn>contain</dfn></dt>
574
-
<dd>
575
-
Adjust the value of 'offset-distance' when the element goes out of the path. When overflowing occurs, the distance value is reduced, until there is a contact point between the path and content block of the element.
576
-
</dd>
577
612
</dl>
578
613
579
614
See the section Motion processing for how to process a motion position.
@@ -610,38 +645,6 @@ See the section Motion processing for how to process a motion position.
610
645
</div>
611
646
</div>
612
647
613
-
<div class='example'>
614
-
Here are some examples. The first example shows some parts of elements are outside of the path.
0 commit comments