@@ -239,7 +239,7 @@ initial containing block</a> where
239
239
240
240
and the values have the following meanings:
241
241
242
- <dl dfn-type=value dfn-for="< viewport-length> ">
242
+ <dl dfn-type=value dfn-for="viewport-length">
243
243
<dt> <dfn>auto</dfn> </dt>
244
244
<dd>
245
245
The used value is calculated from the other descriptors'
@@ -547,7 +547,7 @@ the procedure. They are initially resolved to their computed values.
547
547
548
548
<dfn><code>width</code></dfn> and <dfn><code>height</code></dfn> refer
549
549
to the resolved viewport size and not the shorthand descriptors. They
550
- are both initially ''< viewport-length> /auto'' .
550
+ are both initially ''viewport-length/auto'' .
551
551
552
552
<code> MIN/MAX</code> computations where one of the arguments is
553
553
''zoom/auto'' resolve to the other argument. For instance, <code> MIN(0.25,
@@ -607,7 +607,7 @@ the <code>[min-zoom, max-zoom]</code> range</h4>
607
607
</ol>
608
608
609
609
<h4 id="resolve-px" class="no-num no-toc">
610
- Resolve non-''< viewport-length> /auto'' lengths to pixel lengths</h4>
610
+ Resolve non-''viewport-length/auto'' lengths to pixel lengths</h4>
611
611
612
612
<ol id="ol3">
613
613
<li>
@@ -626,14 +626,14 @@ descriptors</h4>
626
626
<li>
627
627
If <code lt="min-width!!resolved"> min-width</code> or
628
628
<code lt="max-width!!resolved"> max-width</code> is not
629
- ''< viewport-length> /auto'' , set <code> width = MAX(min-width, MIN(max-width,
629
+ ''viewport-length/auto'' , set <code> width = MAX(min-width, MIN(max-width,
630
630
initial-width))</code>
631
631
</li>
632
632
633
633
<li>
634
634
If <code lt="min-height!!resolved"> min-height</code> or
635
635
<code lt="max-height!!resolved"> max-height</code> is not
636
- ''< viewport-length> /auto'' , set <code> height = MAX(min-height, MIN(max-height,
636
+ ''viewport-length/auto'' , set <code> height = MAX(min-height, MIN(max-height,
637
637
initial-height))</code>
638
638
</li>
639
639
</ol>
@@ -645,12 +645,12 @@ Resolve <code lt="width!!resolved">width</code> value</h4>
645
645
<li>
646
646
If <code lt="width!!resolved"> width</code> and
647
647
<code lt="height!!resolved"> height</code> are both
648
- ''< viewport-length> /auto'' , set <code> width = initial-width</code>
648
+ ''viewport-length/auto'' , set <code> width = initial-width</code>
649
649
</li>
650
650
651
651
<li>
652
652
If <code lt="width!!resolved"> width</code> is
653
- ''< viewport-length> /auto'' , set <code> width = height * (initial-width /
653
+ ''viewport-length/auto'' , set <code> width = height * (initial-width /
654
654
initial-height)</code> , or <code> width = initial-width</code>
655
655
if <code class="index"
656
656
lt="height!!initial"> initial-height</code> is 0.
@@ -662,7 +662,7 @@ Resolve <code lt="height!!resolved">height</code> value</h4>
662
662
663
663
<ol id="ol8">
664
664
<li>
665
- If <code lt="height!!resolved"> height</code> is ''< viewport-length> /auto'' ,
665
+ If <code lt="height!!resolved"> height</code> is ''viewport-length/auto'' ,
666
666
set <code> height = width * (initial-height /
667
667
initial-width)</code> , or <code> height = initial-height</code>
668
668
if <code class="index"
@@ -1051,29 +1051,27 @@ is a valid value.
1051
1051
1052
1052
Let <code> extend-zoom = MIN(zoom, max-zoom)</code>
1053
1053
1054
- For non-'<code class="css" lt="auto!!zoom">auto</code>'
1055
- <code> extend-zoom</code> , let:
1054
+ For non-''zoom/auto'' <code> extend-zoom</code> , let:
1056
1055
1057
1056
<pre>
1058
1057
extend-width = initial-width / extend-zoom
1059
1058
extend-height = initial-height / extend-zoom
1060
1059
</pre>
1061
1060
1062
- Then, resolve for '<code class="css" lt=" extend-to-zoom">extend-to-zoom</code> ' as follows:
1061
+ Then, resolve for '' extend-to-zoom' ' as follows:
1063
1062
1064
1063
<ul>
1065
- <li> If <code> extend-zoom</code> is
1066
- '<code class="css" lt="auto!!zoom">auto</code>' :
1064
+ <li> If <code> extend-zoom</code> is ''zoom/auto'' :
1067
1065
<ol>
1068
1066
<li>
1069
1067
If <code lt="max-width!!resolved"> max-width</code> is
1070
1068
'<code class="css">extend-to-zoom</code>' , set
1071
- <code> max-width = ''< viewport-length> /auto'' </code>
1069
+ <code> max-width = ''viewport-length/auto'' </code>
1072
1070
</li>
1073
1071
<li>
1074
1072
If <code lt="max-height!!resolved"> max-height</code> is
1075
1073
'<code class="css">extend-to-zoom</code>' , set
1076
- <code> max-height = ''< viewport-length> /auto'' </code>
1074
+ <code> max-height = ''viewport-length/auto'' </code>
1077
1075
</li>
1078
1076
<li>
1079
1077
If <code lt="min-width!!resolved"> min-width</code> is
@@ -1089,8 +1087,7 @@ Then, resolve for '<code class="css" lt="extend-to-zoom">extend-to-zoom</code>'
1089
1087
</li>
1090
1088
1091
1089
<li>
1092
- If <code> extend-zoom</code> is
1093
- non-'<code class="css" lt="auto!!zoom">auto</code>' :
1090
+ If <code> extend-zoom</code> is non-''zoom/auto'' :
1094
1091
<ol>
1095
1092
<li>
1096
1093
If <code lt="max-width!!resolved"> max-width</code> is
@@ -1362,7 +1359,7 @@ Large screen UA styles</h3>
1362
1359
For browsers with an initial viewport size large enough to fit common
1363
1360
websites without breaking the layout, or which can easily to resized
1364
1361
to do so, the recommendation is to have <em> no</em> UA styles. That
1365
- means that it will have all descriptors initially set to ''< viewport-length> /auto'' , and
1362
+ means that it will have all descriptors initially set to ''viewport-length/auto'' , and
1366
1363
behave as it would have without support for viewport descriptors.
1367
1364
1368
1365
For browsers which support changing orientation, and the portrait mode
0 commit comments