Skip to content

Commit 0773cf7

Browse files
author
Jihye Hong
committed
[css-round-display] Modify poisitions of figures to be included in related examples, and make an issue about positioning elements with polar to the body
1 parent 7c34890 commit 0773cf7

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

css-round-display/Overview.bs

100644100755
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ The example below shows how the 'border-boundary' property works on drawing bord
253253
<div id="blueBox"></div>
254254
</div>
255255
</pre>
256-
</div>
256+
257257
<div style="width: 600px; text-align:center">
258258
<div style="float: left; width: 300px;">
259259
<img style="width: 200px" src="images/border_b.png">
@@ -267,6 +267,8 @@ The example below shows how the 'border-boundary' property works on drawing bord
267267
<div style="width: 600px">
268268
<p class="caption">Align the content along the display border</p>
269269
</div>
270+
</div>
271+
270272
<p class="note">Note: If the value of 'border-boundary' is parent or display, border lines of the element are actually just a visual effect. It triggers a layout for rendering in a general way, but in the above cases (border-boundary: parent|display), the layout doesn't occur and it only draws the border lines inward from the containing block's borders. With this situation, the borders might hide contents around the display edge.
271273
</p>
272274

@@ -294,7 +296,7 @@ When the 'position' property on an element is set to '<code>polar</code>', the e
294296
<p class="note">
295297
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>'.
296298
</p>
297-
<p class="issue">
299+
<p>
298300
In conventional coordinate system used in the web, the origin is positioned in the upper left corner of a containing block. In comparison, the origin of polar coordinates is the center point of a containing block. Therefore different methods are required to deploy and transform elements, or set margin/padding values when using polar coordinates. An example as below shows the difference between the conventional coordinates and the polar coordinates when positioning elements.
299301
</p>
300302
<div class='example'>
@@ -305,14 +307,14 @@ The examples below show the difference between conventional coordinate system in
305307
&lt;div id="rect2" style="position: absolute; width: 50px; height: 50px; background-color: green;">&lt;/div>
306308
&lt;/body>
307309
</pre>
308-
And another example bellow shows the result in Figure 6B.
310+
Another example bellow shows the result in Figure 6B.
309311
<pre>
310312
&lt;body>
311-
&lt;div id="rect1" style="position: polar; width: 100px; height: 100px; background-color: blue;">&lt;/div>
312-
&lt;div id="rect2" style="position: polar; width: 50px; height: 50px; background-color: gr een;">&lt;/div>
313+
&lt;div id="rect1" style="position: polar; width: 100px; height: 100px; background-color: blue;">&lt;/div>
314+
&lt;div id="rect2" style="position: polar; width: 50px; height: 50px;
315+
background-color: green;">&lt;/div>
313316
&lt;/body>
314317
</pre>
315-
</div>
316318

317319
<div style="width: 800px; text-align:center">
318320
<div style="float: left; width: 400px;">
@@ -323,11 +325,10 @@ And another example bellow shows the result in Figure 6B.
323325
<img style="width: 300px" src="images/polar_positioning_b.png">
324326
<p>(B) Deploying elements using polar coordinate system</p>
325327
</div>
326-
</div>
327-
328-
<div style="width: 800px">
329328
<p class="caption">Positioning elements in conventional coordinate system and polar coordinate system</p>
330329
</div>
330+
</div>
331+
331332

332333
<h3 id="polar-angle-property">The 'polar-angle' property</h3>
333334
The 'polar-angle' property specifies the angle from the Y-axis. This property is activated on condition of position: polar.
@@ -363,21 +364,20 @@ This example shows a way to align elements within the polar coordinate system.
363364
&lt;div id="circle3" style="position: polar; polar-angle: 225deg; polar-distance: 100%">&lt;/div>
364365
&lt;/body>
365366
</pre>
366-
</div>
367-
368367
<div style="width: 400px; text-align: center">
369-
<img src="images/polar.png" style="width: 200px; border: 1px #AAA solid; text-align: center"/>
370-
<p class="caption">An example of polar positioning</p>
368+
<img src="images/polar.png" style="width: 200px; border: 1px #AAA solid; text-align: center"/>
369+
<p class="caption">An example of polar positioning</p>
370+
</div>
371371
</div>
372372

373373
<p class="issue">
374-
Will an element itself be rotated through the 'polar-angle' property?
374+
Is new property needed to support for rotating the element itself?
375375
</p>
376376
<p class="issue">
377377
How to position items to the edge of the containing block without overflowing it? (<i>polar-anchor</i> could be suggested)
378378
</p>
379379
<p class="issue">
380-
One of the profits of polar coordinate system is performance improvement. The significant performance improvement can be seen in animation using the polar coordinate. How to define animation in polar coordinate? Is there any difference between the conventional coordinate and polar coordinate when animate elements?
380+
One of the profits of polar coordinate system is performance improvement. The significant performance improvement can be seen in animation using the polar coordinates. How to define animation in the polar coordinates? Is there any difference between the conventional coordinates and the polar coordinates when animate elements?
381381
</p>
382382
<p class="issue">
383383
By 'polar-distance' property, a position of an element is specified based on the containing block's center. In other way, is the method of positioning elements by the distance based on the edge of the containing block needed?
-666 Bytes
Loading
878 Bytes
Loading

0 commit comments

Comments
 (0)