Skip to content

Commit 4f5e343

Browse files
committed
[css-values-3] Sync against L4
1 parent d37a218 commit 4f5e343

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

css-values-3/Overview.bs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,12 @@ Range Restrictions and Range Definition Notation</h3>
747747
or in the property description,
748748
then <code>[&minus;&infin;,&infin;]</code> is assumed.
749749

750+
Values of &minus;&infin; or &infin; must be written without units,
751+
even if the value type uses units.
752+
Values of ''0'' <em>can</em> be written without units,
753+
even if the value type doesn't allow “unitless zeroes”
754+
(such as <<time>>).
755+
750756
Note: At the time of writing,
751757
the <a>bracketed range notation</a> is new;
752758
thus in most CSS specifications
@@ -815,8 +821,9 @@ Real Numbers: the <<number>> type</h3>
815821

816822
When written literally,
817823
a <dfn export>number</dfn> is either an <a>integer</a>,
818-
or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits
819-
and optionally an exponent composed of "e" or "E" and an integer.
824+
optionally, it can be concluded by the letter “e” or “E”
825+
followed by an integer indicating the base-ten exponent
826+
in <a href="https://en.wikipedia.org/wiki/Scientific_notation">scientific notation</a>.
820827
It corresponds to the <<number-token>> production
821828
in the <a href="https://www.w3.org/TR/css-syntax/">CSS Syntax Module</a> [[!CSS-SYNTAX-3]].
822829
As with integers, the first character of a number
@@ -2237,6 +2244,9 @@ Changes</h2>
22372244
(<a href="https://github.com/w3c/csswg-drafts/issues/7439">Issue 7439</a>)
22382245
* Removed definition of <<length-number>>, since it is impossible to combine them with ''calc()''.
22392246
(<a href="https://github.com/w3c/csswg-drafts/issues/2789">Issue 2789</a>)
2247+
* Fixed definition of [=numbers=] to allow decimals in combination with scientific notation,
2248+
as originally intended and as defined in [[CSS-SYNTAX-3]].
2249+
(<a href="https://github.com/w3c/csswg-drafts/issues/7248">Issue 7248</a>)
22402250
* Editorial improvements.
22412251

22422252
Changes since the <a href="https://www.w3.org/TR/2019/CR-css-values-3-20190131/">31 January 2019 Candidate Recommendation</a> are:

0 commit comments

Comments
 (0)