From 2bfb382045c3f73aa1983d0d1f880fac1558d2a6 Mon Sep 17 00:00:00 2001 From: Eric Willigers Date: Mon, 16 Oct 2017 23:03:35 +1100 Subject: [PATCH] [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 --- css-values-3/Overview.bs | 4 ++++ css-values-4/Overview.bs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/css-values-3/Overview.bs b/css-values-3/Overview.bs index 203d1beb720c..5a2a44dafd9f 100644 --- a/css-values-3/Overview.bs +++ b/css-values-3/Overview.bs @@ -1131,6 +1131,8 @@ Absolute lengths: the ''cm'', ''mm'', ''Q'', ''in'', ''pt'', ''pc'', ''px'' unit (This change was made because too much existing content relies on the assumption of 96dpi, and breaking that assumption broke the content.) + Note: Values are case-insensitive and serialize as lower case, for example 1Q serializes as 1q. + The reference pixel is the visual angle of one pixel on a device with a pixel density of 96dpi and a distance from the reader of an arm's length. For a nominal arm's length of 28 inches, @@ -1301,6 +1303,8 @@ Frequency Units: the <> type and ''Hz'', ''kHz'' units All <> units are compatible, and ''hz'' is their canonical unit. + Note: Values are case-insensitive and serialize as lower case, for example 1Hz serializes as 1hz. +