Skip to content

Commit 2c7adcd

Browse files
author
Jihye Hong
committed
[css-round-display] Add detail description of Polar
1 parent d248ac8 commit 2c7adcd

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

css-round-display/Overview.bs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,10 @@ The example below shows how the 'border-boundary' property works on drawing bord
273273
<h2 id="positioning-content">Positioning content by using the polar coordinate system</h2>
274274

275275
<p>
276-
Elements could be often placed along a circle or concentric circles, and the polar coordinate system is useful to handle such cases. This section introduces polar positioning to support layout of elements in the polar coordinate system where the position of an element is determined by a distance from the center point within the containing element and an angle from the Y-axis. We add '<code>polar</code>' to the value of the 'position' property to support the polar coordinates of an element itself. The 'polar-angle' and 'polar-distance' properties specify the position of an element.
276+
Polar coordinate system is a two-dimensional coordinate system that describes the position of a point in a plane with a distance from a reference point and an angle from a reference direction. Elements could be placed along a circle or concentric circles, and the polar coordinate system is useful to handle such cases. This section introduces polar positioning to support layout of elements in the polar coordinate system where the position of an element is determined by a distance from the center point within the containing element and an angle from the Y-axis. We add '<code>polar</code>' to the value of the 'position' property to support the polar coordinates of an element itself. The 'polar-angle' and 'polar-distance' properties specify the position of an element.
277277
</p>
278278
<p class="note">
279-
Note: In the polar coordinate system, a point is described as being a certain distance from the pole and a certain angle from the polar axis. In the 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.
279+
Note: In the polar coordinate system, a point is described as being a certain distance from the pole and a certain angle from the polar axis. In the 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 'polar-angle' value of an element is 0, the element is positioned on the y-axis. If the angle value of an element increases in the positive direction from 0, the element moves clockwise. The method to determine a direction using 'polar-angle' works the same way in [[CSS-VALUES]], <<angle>> value.
280280
</p>
281281
<h3 id="position-property">The 'position' property</h3>
282282
When the 'position' property on an element is set to '<code>polar</code>', the element could be affected in polar coordinate system.
@@ -291,6 +291,9 @@ When the 'position' property on an element is set to '<code>polar</code>', the e
291291
Computed value: specified value
292292
Animatable: no
293293
</pre>
294+
<p class="note">
295+
Note: The center point of the containing block of an element indicates the origin of polar coordinate when the value of position property of the element is '<code>polar</code>'.
296+
</p>
294297
<h3 id="polar-angle-property">The 'polar-angle' property</h3>
295298
The 'polar-angle' property specifies the angle from the Y-axis. This property is activated on condition of position: polar.
296299
<pre class='propdef'>

0 commit comments

Comments
 (0)