Skip to content

Commit 2bfb382

Browse files
committed
[css-values] Values serialize as lower case
Add note that CSS values such as 1Q and 1Hz serialize as lower case. Note requested in teleconference https://lists.w3.org/Archives/Public/www-style/2017Oct/0025.html
1 parent 77ef92c commit 2bfb382

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

css-values-3/Overview.bs

+4
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,8 @@ Absolute lengths: the ''cm'', ''mm'', ''Q'', ''in'', ''pt'', ''pc'', ''px'' unit
11311131
(This change was made because too much existing content relies on the assumption of 96dpi,
11321132
and breaking that assumption broke the content.)
11331133

1134+
Note: Values are case-insensitive and serialize as lower case, for example 1Q serializes as 1q.
1135+
11341136
The <dfn export>reference pixel</dfn> is the visual angle of one pixel on a device with a pixel density of 96dpi
11351137
and a distance from the reader of an arm's length.
11361138
For a nominal arm's length of 28 inches,
@@ -1301,6 +1303,8 @@ Frequency Units: the <<frequency>> type and ''Hz'', ''kHz'' units</h3>
13011303
All <<frequency>> units are <a>compatible</a>,
13021304
and ''hz'' is their <a>canonical unit</a>.
13031305

1306+
Note: Values are case-insensitive and serialize as lower case, for example 1Hz serializes as 1hz.
1307+
13041308
<!--
13051309
████████ ████████ ██████ ███████
13061310
██ ██ ██ ██ ██ ██ ██

css-values-4/Overview.bs

+4
Original file line numberDiff line numberDiff line change
@@ -1228,6 +1228,8 @@ Absolute lengths: the ''cm'', ''mm'', ''Q'', ''in'', ''pt'', ''pc'', ''px'' unit
12281228
(This change was made because too much existing content relies on the assumption of 96dpi,
12291229
and breaking that assumption broke the content.)
12301230

1231+
Note: Values are case-insensitive and serialize as lower case, for example 1Q serializes as 1q.
1232+
12311233
The <dfn export>reference pixel</dfn> is the visual angle of one pixel on a device with a pixel density of 96dpi
12321234
and a distance from the reader of an arm's length.
12331235
For a nominal arm's length of 28 inches,
@@ -1398,6 +1400,8 @@ Frequency Units: the <<frequency>> type and ''Hz'', ''kHz'' units</h3>
13981400
All <<frequency>> units are <a>compatible</a>,
13991401
and ''hz'' is their <a>canonical unit</a>.
14001402

1403+
Note: Values are case-insensitive and serialize as lower case, for example 1Hz serializes as 1hz.
1404+
14011405
<!--
14021406
████████ ████████ ██████ ███████
14031407
██ ██ ██ ██ ██ ██ ██

0 commit comments

Comments
 (0)