Skip to content

Commit fc67773

Browse files
committed
Make it clearer that vw/vh are percentages of the viewport
1 parent 1802d26 commit fc67773

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

css3-values/Overview.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626

2727
<h1>CSS Values and Units Module Level 3</h1>
2828

29-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 11 October
29+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 25 October
3030
2011</h2>
3131

3232
<dl>
3333
<dt>This version:
3434

3535
<dd><a
36-
href="http://www.w3.org/TR/2011/ED-css3-values-20111011/">http://www.w3.org/TR/2011/ED-css3-values-20111011/</a>
36+
href="http://www.w3.org/TR/2011/ED-css3-values-20111025/">http://www.w3.org/TR/2011/ED-css3-values-20111025/</a>
3737

3838
<dt>Latest version:
3939

@@ -220,7 +220,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
220220
units</a>
221221

222222
<li><a href="#viewport-relative-lengths"><span class=secno>5.1.2.
223-
</span> Viewport-relative lengths: the &lsquo;<code
223+
</span> Viewport-percentage lengths: the &lsquo;<code
224224
class=css>vw</code>&rsquo;, &lsquo;<code class=css>vh</code>&rsquo;,
225225
&lsquo;<code class=css>vm</code>&rsquo; units</a>
226226
</ul>
@@ -964,19 +964,19 @@ <h4 id=font-relative-lengths><span class=secno>5.1.1. </span> Font-relative
964964
</dl>
965965

966966
<h4 id=viewport-relative-lengths><span class=secno>5.1.2. </span>
967-
Viewport-relative lengths: the &lsquo;<a href="#vw-unit"><code
967+
Viewport-percentage lengths: the &lsquo;<a href="#vw-unit"><code
968968
class=css>vw</code></a>&rsquo;, &lsquo;<a href="#vh-unit"><code
969969
class=css>vh</code></a>&rsquo;, &lsquo;<a href="#vm-unit"><code
970970
class=css>vm</code></a>&rsquo; units</h4>
971971

972-
<p>The viewport-relative lengths are relative to the size of the initial
972+
<p>The viewport-percentage lengths are relative to the size of the initial
973973
containing block. When the height or width of the viewport is changed,
974-
they are scaled proportionally.
974+
they are scaled accordingly.
975975

976976
<dl>
977977
<dt><dfn id=vw-unit title=vw>vw unit</dfn>
978978

979-
<dd>Equal to 1/100th of the width of the initial containing block.
979+
<dd>Equal to 1% of the width of the initial containing block.
980980
<div class=example>
981981
<p>In the example below, if the width of the viewport is 200mm, the font
982982
size of <code>h1</code> elements will be 16mm (i.e.
@@ -987,7 +987,7 @@ <h4 id=viewport-relative-lengths><span class=secno>5.1.2. </span>
987987

988988
<dt><dfn id=vh-unit title=vh>vh unit</dfn>
989989

990-
<dd>Equal to 1/100th of the height of the initial containing block.
990+
<dd>Equal to 1% of the height of the initial containing block.
991991

992992
<dt><dfn id=vm-unit title=vm>vm unit</dfn>
993993

css3-values/Overview.src.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -582,15 +582,15 @@ <h4 id="font-relative-lengths">
582582
</dl>
583583

584584
<h4 id="viewport-relative-lengths">
585-
Viewport-relative lengths: the ''vw'', ''vh'', ''vm'' units</h4>
585+
Viewport-percentage lengths: the ''vw'', ''vh'', ''vm'' units</h4>
586586

587-
<p>The viewport-relative lengths are relative to the size of the initial
587+
<p>The viewport-percentage lengths are relative to the size of the initial
588588
containing block. When the height or width of the viewport is changed,
589-
they are scaled proportionally.
589+
they are scaled accordingly.
590590

591591
<dl>
592592
<dt><dfn title="vw">vw unit</dfn>
593-
<dd>Equal to 1/100th of the width of the initial containing block.
593+
<dd>Equal to 1% of the width of the initial containing block.
594594
<div class="example">
595595
<p>In the example below, if the width of the viewport is 200mm,
596596
the font size of <code>h1</code> elements will be
@@ -599,7 +599,7 @@ <h4 id="viewport-relative-lengths">
599599
</div>
600600

601601
<dt><dfn title="vh">vh unit</dfn>
602-
<dd>Equal to 1/100th of the height of the initial containing block.
602+
<dd>Equal to 1% of the height of the initial containing block.
603603

604604
<dt><dfn title="vm">vm unit</dfn>
605605
<dd>Equal to the smaller of ''vw'' or ''vh''.

0 commit comments

Comments
 (0)