Skip to content

Commit ea60b4e

Browse files
author
Jihye Hong
committed
[css-round-display] Fix the definition for auto value of offset-position
1 parent ebfe2c9 commit ea60b4e

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

css-round-display/Overview.bs

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ Values have the following meanings:
415415
<dl dfn-for="offset-path">
416416
<dt><<angle>></dt>
417417
<dd>
418-
The path is a straight line that pass through the center of the containing block and has the degree of the angle as specified in <<angle>> from the Y-axis. The initial position of the path is the center of the containing block and the path ends at the edge of the containing block.
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.
419419

420420
<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>
421421
</dd>
@@ -473,19 +473,7 @@ Values are defined as follows:
473473
<dl dfn-for="offset-position">
474474
<dt><var>'auto'</var></dt>
475475
<dd>
476-
Computes differently according to the type of value of 'offset-path':
477-
<dl>
478-
<dt><<angle>></dt>
479-
<dd>The center of the containing block</dd>
480-
<dt><<circle()>>, <<ellipse()>></dt>
481-
<dd>The point where a virtual tangent to the circle/ellipse would reach the top vertical position</dd>
482-
<dt><<inset()>></dt>
483-
<dd>The left top corner of the rectangle</dd>
484-
<dt><<polygon()>></dt>
485-
<dd>The first coordinate pair of the polygon</dd>
486-
<dt><<path()>></dt>
487-
<dd>The first "move to" argument in the path string</dd>
488-
</dl>
476+
Computes to the current position of the element.
489477
</dd>
490478

491479
<dt><<position>></dt>

0 commit comments

Comments
 (0)