From 2b61cb0fd6c79c52b6e95431758a3121521a2475 Mon Sep 17 00:00:00 2001 From: "Fabio A. Correa" Date: Thu, 23 Feb 2023 05:10:31 -0500 Subject: [PATCH 1/2] [css-values-4] Removed the word "unit" from some headings in section 6.1 to avoid confusion --- css-values-4/Overview.bs | 72 ++++++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/css-values-4/Overview.bs b/css-values-4/Overview.bs index a5cf5f94867..51444ad4416 100644 --- a/css-values-4/Overview.bs +++ b/css-values-4/Overview.bs @@ -1742,7 +1742,7 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'',
-
em unit +
em>
Equal to the computed value of the 'font-size' property of the element on which it is used. @@ -1761,7 +1761,7 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', will be 20% greater than the computed font size inherited by h1 elements. -
rem unit +
rem
Equal to the computed value of the ''em'' unit on the root element. @@ -1769,7 +1769,7 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', css/css-values/calc-rem-lang.html -
ex unit +
ex
Equal to the used x-height of the first available font [[!CSS3-FONTS]]. The x-height is so called because it is often equal to the height of the lowercase "x". @@ -1804,11 +1804,11 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', css/css-values/calc-ch-ex-lang.html -
rex unit +
rex
Equal to the value of the ''ex'' unit on the root element. -
cap unit +
cap
Equal to the used cap-height of the first available font [[!CSS3-FONTS]]. The cap-height is so called because it is approximately equal to the height of a capital Latin letter. @@ -1823,11 +1823,11 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', In the cases where it is impossible or impractical to determine the cap-height, the font's ascent must be used. -
rcap unit +
rcap
Equal to the value of the ''cap'' unit on the root element. -
ch unit +
ch
Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph @@ -1866,11 +1866,11 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', css/css-values/calc-ch-ex-lang.html -
rch unit +
rch
Equal to the value of the ''ch'' unit on the root element. -
ic unit +
ic
Represents the typical advance measure of CJK letters, and measured as the used advance measure of the “水” (CJK water ideograph, U+6C34) glyph @@ -1896,11 +1896,11 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', css/css-values/ic-unit-012.html -
ric unit +
ric
Equal to the value of the ''ic'' unit on the root element. -
lh unit +
lh
Equal to the computed value of the 'line-height' property of the element on which it is used, converting ''line-height/normal'' to an absolute length @@ -1912,7 +1912,7 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', css/css-values/lh-unit-002.html -
rlh unit +
rlh
Equal to the value of the ''lh'' unit on the root element. @@ -2158,10 +2158,10 @@ The Various Viewport-relative Units The [=viewport-percentage length=] units are:
-
vw unit -
svw unit -
lvw unit -
dvw unit +
vw +
svw +
lvw +
dvw
Equal to 1% of the width of the [=UA-default viewport size=], @@ -2178,10 +2178,10 @@ The Various Viewport-relative Units
h1 { font-size: 8vw }
-
vh unit -
svh unit -
lvh unit -
dvh unit +
vh +
svh +
lvh +
dvh
Equal to 1% of the height of the [=UA-default viewport size=], @@ -2190,10 +2190,10 @@ The Various Viewport-relative Units and [=dynamic viewport size=], respectively. -
vi unit -
svi unit -
lvi unit -
dvi unit +
vi +
svi +
lvi +
dvi
Equal to 1% of the size of the [=large viewport size=], @@ -2202,10 +2202,10 @@ The Various Viewport-relative Units (respectively) in the box’s [=inline axis=]. -
vb unit -
svb unit -
lvb unit -
dvb unit +
vb +
svb +
lvb +
dvb
Equal to 1% of the size of the initial containing block [=UA-default viewport size=], @@ -2215,17 +2215,17 @@ The Various Viewport-relative Units (respectively) in the box’s [=block axis=]. -
vmin unit -
svmin unit -
lvmin unit -
dvmin unit +
vmin +
svmin +
lvmin +
dvmin
Equal to the smaller of ''*vw'' or ''*vh''. -
vmax unit -
svmax unit -
lvmax unit -
dvmax unit +
vmax +
svmax +
lvmax +
dvmax
Equal to the larger of ''*vw'' or ''*vh''.
From 033f535cef5867888e0b1a70f346aa93733db8b0 Mon Sep 17 00:00:00 2001 From: "Fabio A. Correa" Date: Thu, 23 Feb 2023 18:06:58 -0500 Subject: [PATCH 2/2] Corrected regression, restored caniuse, removed lt Thanks for the comments and reviews. --- css-values-4/Overview.bs | 72 ++++++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/css-values-4/Overview.bs b/css-values-4/Overview.bs index 51444ad4416..6304c0e2a28 100644 --- a/css-values-4/Overview.bs +++ b/css-values-4/Overview.bs @@ -1742,7 +1742,7 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'',
-
em> +
em
Equal to the computed value of the 'font-size' property of the element on which it is used. @@ -1761,7 +1761,7 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', will be 20% greater than the computed font size inherited by h1 elements. -
rem +
rem
Equal to the computed value of the ''em'' unit on the root element. @@ -1769,7 +1769,7 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', css/css-values/calc-rem-lang.html -
ex +
ex
Equal to the used x-height of the first available font [[!CSS3-FONTS]]. The x-height is so called because it is often equal to the height of the lowercase "x". @@ -1804,11 +1804,11 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', css/css-values/calc-ch-ex-lang.html -
rex +
rex
Equal to the value of the ''ex'' unit on the root element. -
cap +
cap
Equal to the used cap-height of the first available font [[!CSS3-FONTS]]. The cap-height is so called because it is approximately equal to the height of a capital Latin letter. @@ -1823,11 +1823,11 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', In the cases where it is impossible or impractical to determine the cap-height, the font's ascent must be used. -
rcap +
rcap
Equal to the value of the ''cap'' unit on the root element. -
ch +
ch
Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph @@ -1866,11 +1866,11 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', css/css-values/calc-ch-ex-lang.html -
rch +
rch
Equal to the value of the ''ch'' unit on the root element. -
ic +
ic
Represents the typical advance measure of CJK letters, and measured as the used advance measure of the “水” (CJK water ideograph, U+6C34) glyph @@ -1896,11 +1896,11 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', css/css-values/ic-unit-012.html -
ric +
ric
Equal to the value of the ''ic'' unit on the root element. -
lh +
lh
Equal to the computed value of the 'line-height' property of the element on which it is used, converting ''line-height/normal'' to an absolute length @@ -1912,7 +1912,7 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'', css/css-values/lh-unit-002.html -
rlh +
rlh
Equal to the value of the ''lh'' unit on the root element. @@ -2158,10 +2158,10 @@ The Various Viewport-relative Units The [=viewport-percentage length=] units are:
-
vw -
svw -
lvw -
dvw +
vw +
svw +
lvw +
dvw
Equal to 1% of the width of the [=UA-default viewport size=], @@ -2178,10 +2178,10 @@ The Various Viewport-relative Units
h1 { font-size: 8vw }
-
vh -
svh -
lvh -
dvh +
vh +
svh +
lvh +
dvh
Equal to 1% of the height of the [=UA-default viewport size=], @@ -2190,10 +2190,10 @@ The Various Viewport-relative Units and [=dynamic viewport size=], respectively. -
vi -
svi -
lvi -
dvi +
vi +
svi +
lvi +
dvi
Equal to 1% of the size of the [=large viewport size=], @@ -2202,10 +2202,10 @@ The Various Viewport-relative Units (respectively) in the box’s [=inline axis=]. -
vb -
svb -
lvb -
dvb +
vb +
svb +
lvb +
dvb
Equal to 1% of the size of the initial containing block [=UA-default viewport size=], @@ -2215,17 +2215,17 @@ The Various Viewport-relative Units (respectively) in the box’s [=block axis=]. -
vmin -
svmin -
lvmin -
dvmin +
vmin +
svmin +
lvmin +
dvmin
Equal to the smaller of ''*vw'' or ''*vh''. -
vmax -
svmax -
lvmax -
dvmax +
vmax +
svmax +
lvmax +
dvmax
Equal to the larger of ''*vw'' or ''*vh''.