Skip to content

Commit 0935b10

Browse files
committed
[css-variables-2] Replace the Changes section, and credit @jonathantneal
1 parent 1d8a797 commit 0935b10

File tree

1 file changed

+5
-48
lines changed

1 file changed

+5
-48
lines changed

css-variables-2/Overview.bs

Lines changed: 5 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1412,54 +1412,10 @@ Serializing Custom Properties</h3>
14121412
<h2 id='changes'>
14131413
Changes</h2>
14141414

1415-
<h3 id='changes-20220616'>
1416-
Changes Since the 16 June CR Snapshot</h3>
1417-
1418-
<h3 id='changes-20211111'>
1419-
Changes Since the 11 November 2021 CR Draft</h3>
1420-
1421-
* Clarified that custom properties apply all pseudo-elements (including those with restricted property lists)
1422-
* Added example to illustrate issues with combining characters, ligatures, etc
1423-
* Strengthened wording around similar-appearing variable names that use distinct codepoint sequences
1424-
* Clarified an example by using more visualy distinct languages as examples (English and Greek)
1425-
* Split Security and Privacy into separate sections
1426-
1427-
<h3 id='changes-20151203'>
1428-
Changes Since the 03 December 2015 CR</h3>
1429-
1430-
* Now that [[css-syntax-3]] auto-trims whitespace from declaration values,
1431-
made <<declaration-value>> optional in the custom property grammar,
1432-
so that empty variables are still allowed.
1433-
(<a href="https://github.com/w3c/csswg-drafts/issues/774#issuecomment-434571254">Issue 774</a>)
1434-
* Similarly, made empty fallbacks valid in ''var()''.
1435-
* The '-' property is reserved for future use by CSS.
1436-
* Added concept of "animation-tainted",
1437-
to prevent non-animatable properties
1438-
from using a variable to smuggle in some animatability.
1439-
* Defined the [=guaranteed-invalid value=]
1440-
to make the initial value of custom properties
1441-
and the result of cycles or substitution failure
1442-
more straightforward,
1443-
and allow failure to propagate thru substitutions
1444-
until finally intercepted by a fallback.
1445-
* Defined that cycles trigger [=invalid at computed-value time=] behavior.
1446-
* Allowed variables to resolve to a CSS-wide keyword
1447-
(only possible by providing it as a fallback).
1448-
* Clarified that [=registered custom properties=] act like non-custom properties
1449-
when they're [=invalid at computed-value time=].
1450-
* Made longhands with ''var()''s also trigger their shorthands to be unserializable,
1451-
like longhands with pending-substitution values already did.
1452-
* Required UAs to defend against exponential substitution attacks.
1453-
* Defined how to serialize the <em>values</em> of custom properties
1454-
(previously, only the property name's serialization was specified).
1455-
1456-
<h3 id='changes-20140506'>
1457-
Changes since the May 6 2014 Last Call Working Draft</h2>
1458-
1459-
* Serialization of longhands when shorthand uses a variable was defined.
1460-
* Link to DOM's definition of "case-sensitive".
1461-
* Added example of using variables with '':lang()'' to do simple i18n.
1462-
* Clarified that usage of ''var()'' in a custom property must be valid per the ''var()'' grammar.
1415+
<h3 id='changes-v1'>
1416+
Changes Since Variables 1</h3>
1417+
1418+
* Added [=variable unit references=].
14631419

14641420

14651421
<h2 id="acks">
@@ -1472,6 +1428,7 @@ Acknowledgments</h2>
14721428
Brian Kardell,
14731429
David Baron,
14741430
François Remy,
1431+
Jonathan Neal,
14751432
Roland Steiner,
14761433
and Shane Stephens.
14771434

0 commit comments

Comments
 (0)