From 4e2d4152e1b46d9549f57e2f66cb8df75895c7fb Mon Sep 17 00:00:00 2001 From: Sebastian Zartner Date: Fri, 29 Dec 2023 20:36:03 +0100 Subject: [PATCH 1/2] [css-typed-om] Renamed to The data type got moved to CSS Values 5 and renamed to . So this adjustment also needed to be done in CSS Typed OM. --- css-typed-om/Overview.bs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/css-typed-om/Overview.bs b/css-typed-om/Overview.bs index 6efdbcbf..88f57183 100644 --- a/css-typed-om/Overview.bs +++ b/css-typed-om/Overview.bs @@ -1025,7 +1025,7 @@ are represented by subclasses of the {{CSSNumericValue}} interface. "time", "frequency", "resolution", - "flex", + "fraction", "percent", }; @@ -1035,7 +1035,7 @@ are represented by subclasses of the {{CSSNumericValue}} interface. long time; long frequency; long resolution; - long flex; + long fraction; long percent; CSSNumericBaseType percentHint; }; @@ -1733,7 +1733,7 @@ The base types are "time", "frequency", "resolution", -"flex", +"fraction", and "percent". The ordering of a [=type=]’s entries always matches this [=base type=] ordering. The percent hint @@ -1762,8 +1762,8 @@ and to the CSS [=math functions=]. :: Return «[ "frequency" → 1 ]» : |unit| is a <> unit :: Return «[ "resolution" → 1 ]» - : |unit| is a <> unit - :: Return «[ "flex" → 1 ]» + : |unit| is a <> unit + :: Return «[ "fraction" → 1 ]» : anything else :: Return failure. @@ -1901,7 +1901,7 @@ A [=type=] is said to match a CSS producti * A [=type=] matches <> if its only non-zero [=map/entry=] is «[ "length" → 1 ]» and its [=percent hint=] is null. - Similarly for <>, <