Skip to content

Commit e0cd088

Browse files
committed
[motion-1][editorial] Fixed Bikeshed issues
1 parent ecc95a7 commit e0cd088

1 file changed

Lines changed: 20 additions & 19 deletions

File tree

motion-1/Overview.bs

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Values have the following meanings:
165165
on the element that establishes the [=containing block=]
166166
for this element.
167167
If <<coord-box>> is omitted,
168-
it defaults to ''&lt;coord-box>/border-box''.
168+
it defaults to ''<coord-box>/border-box''.
169169

170170
See the specific values (below)
171171
for the interpretation of each component.
@@ -177,7 +177,7 @@ Values have the following meanings:
177177
at some angle.
178178
See [[#ray-function]] for details.
179179

180-
The <<coord-box>> provides the [=&lt;basic-shape>/reference box=]
180+
The <<coord-box>> provides the [=<basic-shape>/reference box=]
181181
for the ray.
182182

183183
: <dfn><<url>></dfn>
@@ -202,7 +202,7 @@ Values have the following meanings:
202202

203203
: <dfn><<basic-shape>></dfn>
204204
::
205-
The [=offset path=] is the [=&lt;basic-shape>/equivalent path=]
205+
The [=offset path=] is the [=<basic-shape>/equivalent path=]
206206
of the <<basic-shape>> function.
207207

208208
For all <<basic-shape>>s,
@@ -227,11 +227,12 @@ Values have the following meanings:
227227
for this element.
228228

229229
In SVG contexts,
230-
all values behave as ''&lt;coord-box>/view-box''.
230+
all values behave as ''<coord-box>/view-box''.
231231
</dl>
232232

233233
<wpt>
234234
animation/offset-path-composition.html
235+
animation/offset-path-coord-box-interpolation.html
235236
animation/offset-path-interpolation-001.html
236237
animation/offset-path-interpolation-002.html
237238
animation/offset-path-interpolation-003.html
@@ -536,7 +537,7 @@ Issue: all of these examples need to be rewritten.
536537
&lt;/body>
537538
</code></pre>
538539
<figure>
539-
<img alt="An image of boxes positioned without contain" src="images/offset_distance_without_contain.png" style="width: 200px;">
540+
<img alt="An image of boxes positioned without contain" src="images/offset_distance_without_contain.png" width="200" height="220">
540541
<figcaption>'offset-path' without 'contain'</figcaption>
541542
</figure>
542543

@@ -571,7 +572,7 @@ Issue: all of these examples need to be rewritten.
571572
&lt;/body>
572573
</code></pre>
573574
<figure>
574-
<img alt="An image of boxes positioned with contain" src="images/offset_distance_with_contain.png" width=200 height=220>
575+
<img alt="An image of boxes positioned with contain" src="images/offset_distance_with_contain.png" width="200" height="220">
575576
<figcaption>'offset-path' with 'contain'</figcaption>
576577
</figure>
577578

@@ -602,7 +603,7 @@ Issue: all of these examples need to be rewritten.
602603
&lt;/body>
603604
</code></pre>
604605
<figure>
605-
<img alt="An image of an increased path size" src="images/increase-size.svg" width="400" height="335" >
606+
<img alt="An image of an increased path size" src="images/increase-size.svg" width="400" height="335">
606607
<figcaption>'offset-path' with path size increased</figcaption>
607608
</figure>
608609

@@ -635,7 +636,7 @@ Issue: all of these examples need to be rewritten.
635636
&lt;/div>
636637
</code></pre>
637638
<figure>
638-
<img alt="An image with initial position outside the containing block" src="images/initial-outside.svg" width=700 height=460 >
639+
<img alt="An image with initial position outside the containing block" src="images/initial-outside.svg" width="700" height="460">
639640
<figcaption>Initial position outside the containing block</figcaption>
640641
</figure>
641642
</div>
@@ -704,7 +705,7 @@ Issue: all of these examples need to be rewritten.
704705
&lt;/body>
705706
</code></pre>
706707
<figure>
707-
<img alt="An image of example for geometry-box with border-radius" src="images/geometry-box.svg" width=470 height=270 >
708+
<img alt="An image of example for geometry-box with border-radius" src="images/geometry-box.svg" width="470" height="270">
708709
<figcaption>The initial position is the left end of the top horizontal line.</figcaption>
709710
</figure>
710711
</div>
@@ -833,7 +834,7 @@ This example shows boxes placed along an unclosed interval.
833834
&lt;/body>
834835
</code></pre>
835836
<figure>
836-
<img src="images/offset-distance-unclosed.svg" width=700 height=270
837+
<img src="images/offset-distance-unclosed.svg" width="700" height="270"
837838
alt="An example of boxes placed along an unclosed interval">
838839
<figcaption>An example of boxes placed along an unclosed interval</figcaption>
839840
</figure>
@@ -865,7 +866,7 @@ This example shows boxes placed along a closed interval.
865866
&lt;/body>
866867
</code></pre>
867868
<figure>
868-
<img src="images/offset-distance-closed.svg" width=700 height=270
869+
<img src="images/offset-distance-closed.svg" width="700" height="270"
869870
alt="An example of boxes placed along a closed interval">
870871
<figcaption>An example of boxes placed along a closed interval</figcaption>
871872
</figure>
@@ -912,7 +913,7 @@ This example shows boxes placed along a closed interval.
912913
&lt;/body>
913914
</code></pre>
914915
<figure>
915-
<img alt="An image of three boxes positioned to polar coordinates" src="images/simple_offset_position.png" style="width: 300px;">
916+
<img alt="An image of three boxes positioned to polar coordinates" src="images/simple_offset_position.png" width="300" height="300">
916917
<figcaption>An example of positioning box in polar coordinates</figcaption>
917918
</figure>
918919
</div>
@@ -1010,7 +1011,7 @@ parsing/offset-position-parsing-valid.html
10101011
&lt;/body>
10111012
</code></pre>
10121013
<figure>
1013-
<img alt="An image of offset-position: auto" src="images/offset_position_auto.png" width="300">
1014+
<img alt="An image of offset-position: auto" src="images/offset_position_auto.png" width="300" height="279">
10141015
<figcaption>An example when ''offset-position/auto'' is given to 'offset-position'</figcaption>
10151016
</figure>
10161017
</div>
@@ -1300,7 +1301,7 @@ This example shows an alignment of four boxes with different <a>anchor point</a>
13001301
&lt;/body>
13011302
</code></pre>
13021303
<figure>
1303-
<img src="images/offset_anchor.png" alt="An example of offset-anchor" style="width: 300px;">
1304+
<img src="images/offset_anchor.png" alt="An example of offset-anchor" width="300" height="300">
13041305
<figcaption>An example of 'offset-anchor'</figcaption>
13051306
</figure>
13061307
</div>
@@ -1348,7 +1349,7 @@ This example shows boxes centered at their offset-position.
13481349
&lt;/body>
13491350
</code></pre>
13501351
<figure>
1351-
<img src="images/offset_anchor_center.svg" width=700 height=790 alt="An example of offset-anchor: center">
1352+
<img src="images/offset_anchor_center.svg" width="700" height="790" alt="An example of offset-anchor: center">
13521353
<figcaption>An example of 'offset-anchor: center'</figcaption>
13531354
</figure>
13541355
</div>
@@ -1396,7 +1397,7 @@ This example shows how offset-anchor computes to their offset-position.
13961397
&lt;/body>
13971398
</code></pre>
13981399
<figure>
1399-
<img src="images/offset_anchor_auto.svg" width=700 height=570 alt="An example of offset-anchor: auto">
1400+
<img src="images/offset_anchor_auto.svg" width="700" height="570" alt="An example of offset-anchor: auto">
14001401
<figcaption>An example of 'offset-anchor: auto'</figcaption>
14011402
</figure>
14021403
</div>
@@ -1585,7 +1586,7 @@ parsing/offset-rotate-parsing-valid.html
15851586
&lt;/body>
15861587
</code></pre>
15871588
<figure>
1588-
<img alt="An image of example for offset-rotate" src="images/rotate_by_angle_with_auto.png" style="width: 250px; text-align: center">
1589+
<img alt="An image of example for offset-rotate" src="images/rotate_by_angle_with_auto.png" width="250" height="250">
15891590
<figcaption>The boxes are rotated by the value of ''offset-rotate/auto'' with a fixed amount of degree.</figcaption>
15901591
</figure>
15911592
</div>
@@ -1757,14 +1758,14 @@ This specification introduces no new security considerations.
17571758
* Fixed directionality at sharp path boundaries to match SVG. <a href="https://github.com/w3c/fxtf-drafts/issues/209">#209</a>.
17581759
* Reorganized offset-path section for better readability.
17591760
* Removed note describing the concept of polar angles.
1760-
* Changed computed value of offset-distance to a computed <length-percentage> value.
1761+
* Changed computed value of offset-distance to a computed <<length-percentage>> value.
17611762
* Replaced animatable by Animation type.
17621763

17631764
<h3 class=no-num id="changes-20150409">Changes since the <a href="https://www.w3.org/TR/2015/WD-motion-1-20150409/">9 April 2015</a> First Public Working Draft</h3>
17641765

17651766
* Renamed <a href="https://www.w3.org/TR/2015/WD-motion-1-20150409/#motion-path-property">motion-path</a> to 'offset-path' for integrating with <a href="https://www.w3.org/TR/2016/WD-css-round-display-1-20160301/#polar-angle-property">polar-angle</a>.
17661767
* Added the ''ray()'' to define an <a>offset path</a> as a line segment which direction is specified by <<angle>>.
1767-
* Added <<size>> and 'contain' value for the ''ray()''.
1768+
* Added <<ray-size>> and 'contain' value to ''ray()''.
17681769
* Renamed <a href="https://www.w3.org/TR/2015/WD-motion-1-20150409/#propdef-motion-offset">motion-offset</a> to 'offset-distance' for integrating with <a href="https://www.w3.org/TR/2016/WD-css-round-display-1-20160301/#polar-distance-property">polar-distance</a>.
17691770
* Renamed <a href="https://www.w3.org/TR/2015/WD-motion-1-20150409/#propdef-motion-rotation">motion-rotation</a> to 'offset-rotate'.
17701771
* Added 'offset-position' to specify the [=offset starting position=] of the path by merging <a href="https://www.w3.org/TR/2016/WD-css-round-display-1-20160301/#polar-origin-property">polar-origin</a> from [[CSS-ROUND-DISPLAY-1]].

0 commit comments

Comments
 (0)