Skip to content

Commit 11d0689

Browse files
author
Jihye Hong
committed
[css-round-display] Fix errors from nu html checker
1 parent 636d7d0 commit 11d0689

2 files changed

Lines changed: 47 additions & 71 deletions

File tree

css-round-display/Overview.bs

Lines changed: 46 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ The 'polar-origin' property establishes the point of origin for coordinate syste
530530
Animatable: as <a href="https://www.w3.org/TR/css3-transitions/#animtype-lpcalc">length, percentage, or calc</a>
531531
</pre>
532532
<p>
533-
Where
533+
Where
534534

535535
<pre class=prod><dfn><var>&lt;position&gt;</var></dfn> = [
536536
[ left | center | right | top | bottom | <var>&lt;percentage&gt;</var> | <var>&lt;length&gt;</var> ]
@@ -541,27 +541,6 @@ Where
541541
[ center | [ left | right ] [ <var>&lt;percentage&gt;</var> | <var>&lt;length&gt;</var> ]? ] &amp;&amp;
542542
[ center | [ top | bottom ] [ <var>&lt;percentage&gt;</var> | <var>&lt;length&gt;</var> ]? ]]</pre>
543543

544-
<dl>
545-
<dd>
546-
<b>&lt;position&gt;</b> = [
547-
<br>
548-
&nbsp;[ left | center | right | top | bottom | <var>&lt;percentage&gt;</var> | <var>&lt;length&gt;</var> ]
549-
<br>
550-
|
551-
<br>
552-
&nbsp;&nbsp;[ left | center | right | <var>&lt;percentage&gt;</var> | <var>&lt;length&gt;</var> ]
553-
<br>
554-
&nbsp;&nbsp;[ top | center | bottom | <var>&lt;percentage&gt;</var> | <var>&lt;length&gt;</var> ]
555-
<br>
556-
|
557-
<br>
558-
&nbsp;&nbsp;[ center | [ left | right ] [ <var>&lt;percentage&gt;</var> | <var>&lt;length&gt;</var> ]? ] &amp;&amp;
559-
<br>
560-
&nbsp;&nbsp;[ center | [ top | bottom ] [ <var>&lt;percentage&gt;</var> | <var>&lt;length&gt;</var> ]? ]
561-
<br>
562-
]
563-
</dd>
564-
</dl>
565544

566545
Values are defined as follows:
567546

@@ -572,57 +551,57 @@ Where
572551
</dd>
573552
</dl>
574553

575-
<dl>
576-
<dt><var>&lt;length&gt;</var></dt>
577-
<dd>
578-
A length value gives a fixed length as the offset. The value for the horizontal and vertical offset represent an offset from the top left corner of the containing block.
579-
</dd>
580-
</dl>
554+
<dl>
555+
<dt><var>&lt;length&gt;</var></dt>
556+
<dd>
557+
A length value gives a fixed length as the offset. The value for the horizontal and vertical offset represent an offset from the top left corner of the containing block.
558+
</dd>
559+
</dl>
581560

582-
<dl>
583-
<dt><var>top</var></dt>
584-
<dd>
585-
Computes to 0% for the vertical position.
586-
</dd>
587-
</dl>
561+
<dl>
562+
<dt><var>top</var></dt>
563+
<dd>
564+
Computes to 0% for the vertical position.
565+
</dd>
566+
</dl>
588567

589-
<dl>
590-
<dt><var>right</var></dt>
591-
<dd>
592-
Computes to 100% for the horizontal position.
593-
</dd>
594-
</dl>
568+
<dl>
569+
<dt><var>right</var></dt>
570+
<dd>
571+
Computes to 100% for the horizontal position.
572+
</dd>
573+
</dl>
595574

596-
<dl>
597-
<dt><var>bottom</var></dt>
598-
<dd>
599-
Computes to 100% for the vertical position.
600-
</dd>
601-
</dl>
575+
<dl>
576+
<dt><var>bottom</var></dt>
577+
<dd>
578+
Computes to 100% for the vertical position.
579+
</dd>
580+
</dl>
602581

603-
<dl>
604-
<dt><var>left</var></dt>
605-
<dd>
606-
Computes to 0% for the horizontal position.
607-
</dd>
608-
</dl>
582+
<dl>
583+
<dt><var>left</var></dt>
584+
<dd>
585+
Computes to 0% for the horizontal position.
586+
</dd>
587+
</dl>
609588

610-
<dl>
611-
<dt><var>center</var></dt>
612-
<dd>
613-
Computes to 50% (left 50%) for the horizontal position if the horizontal position is not otherwise specified, or 50% (top 50%) for the vertical position if it is.
614-
</dd>
615-
</dl>
589+
<dl>
590+
<dt><var>center</var></dt>
591+
<dd>
592+
Computes to 50% (left 50%) for the horizontal position if the horizontal position is not otherwise specified, or 50% (top 50%) for the vertical position if it is.
593+
</dd>
594+
</dl>
616595

617-
<dl>
618-
<dt><var>auto</var></dt>
619-
<dd>
620-
Computes to <var>center</var> if 'polar-origin' is used in polar coordinates. But it computes as the box model layout in Cartesian coordinates.
621-
<br>
622-
In polar coordinates, there are many use cases specifying the position of the origin at the center point of the containing block. Therefore an element is positioned to the horizontally and vertically center in the area of the containing block when auto value is given to the 'polar-origin'.
623-
But if it is used in conventional coordinate system, the origin of coordinate system is at the upper left corner of the containing block by default. For example, 'top' and 'left' are used for positioning the element, auto value makes the same result of giving 'top left' as the value of 'polar-origin'.
624-
</dd>
625-
</dl>
596+
<dl>
597+
<dt><var>auto</var></dt>
598+
<dd>
599+
Computes to <var>center</var> if 'polar-origin' is used in polar coordinates. But it computes as the box model layout in Cartesian coordinates.
600+
<br>
601+
In polar coordinates, there are many use cases specifying the position of the origin at the center point of the containing block. Therefore an element is positioned to the horizontally and vertically center in the area of the containing block when auto value is given to the 'polar-origin'.
602+
But if it is used in conventional coordinate system, the origin of coordinate system is at the upper left corner of the containing block by default. For example, 'top' and 'left' are used for positioning the element, auto value makes the same result of giving 'top left' as the value of 'polar-origin'.
603+
</dd>
604+
</dl>
626605
</p>
627606

628607
<div class='example'>

css-round-display/Overview.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,6 @@ <h3 class="heading settled" data-level="6.3" id="polar-origin-property"><span cl
645645
<a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#comb-one">|</a>
646646
[ center <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#comb-one">|</a> [ left <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#comb-one">|</a> right ] [ <var>&lt;percentage></var> <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#comb-one">|</a> <var>&lt;length></var> ]<a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#mult-opt">?</a> ] &amp;&amp;
647647
[ center <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#comb-one">|</a> [ top <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#comb-one">|</a> bottom ] [ <var>&lt;percentage></var> <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#comb-one">|</a> <var>&lt;length></var> ]<a data-link-type="grammar" href="https://drafts.csswg.org/css-values-3/#mult-opt">?</a> ]]</pre>
648-
<dl>
649-
<dd> <b>&lt;position></b> = [ <br>  [ left | center | right | top | bottom | <var>&lt;percentage></var> | <var>&lt;length></var> ] <br> | <br>   [ left | center | right | <var>&lt;percentage></var> | <var>&lt;length></var> ] <br>   [ top | center | bottom | <var>&lt;percentage></var> | <var>&lt;length></var> ] <br> | <br>   [ center | [ left | right ] [ <var>&lt;percentage></var> | <var>&lt;length></var> ]? ] &amp;&amp; <br>   [ center | [ top | bottom ] [ <var>&lt;percentage></var> | <var>&lt;length></var> ]? ] <br> ]
650-
</dl>
651648
<p>Values are defined as follows:</p>
652649
<dl>
653650
<dt><var>&lt;percentage></var>
@@ -680,7 +677,7 @@ <h3 class="heading settled" data-level="6.3" id="polar-origin-property"><span cl
680677
<dl>
681678
<dt><var>auto</var>
682679
<dd> Computes to <var>center</var> if <a class="property" data-link-type="propdesc" href="#propdef-polar-origin">polar-origin</a> is used in polar coordinates. But it computes as the box model layout in Cartesian coordinates. <br> In polar coordinates, there are many use cases specifying the position of the origin at the center point of the containing block. Therefore an element is positioned to the horizontally and vertically center in the area of the containing block when auto value is given to the <a class="property" data-link-type="propdesc" href="#propdef-polar-origin">polar-origin</a>.
683-
But if it is used in conventional coordinate system, the origin of coordinate system is at the upper left corner of the containing block by default. For example, <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-position-3/#propdef-top">top</a> and <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-position-3/#propdef-left">left</a> are used for positioning the element, auto value makes the same result of giving 'top left' as the value of <a class="property" data-link-type="propdesc" href="#propdef-polar-origin">polar-origin</a>.
680+
But if it is used in conventional coordinate system, the origin of coordinate system is at the upper left corner of the containing block by default. For example, <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-position-3/#propdef-top">top</a> and <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-position-3/#propdef-left">left</a> are used for positioning the element, auto value makes the same result of giving 'top left' as the value of <a class="property" data-link-type="propdesc" href="#propdef-polar-origin">polar-origin</a>.
684681
</dl>
685682
<p></p>
686683
<div class="example" id="example-525437ec">

0 commit comments

Comments
 (0)