Skip to content

Commit

Permalink
[css-values-5][editorial] Add a Changes section, fix a typo, revert t…
Browse files Browse the repository at this point in the history
…o ED.
  • Loading branch information
tabatkins committed Sep 13, 2024
1 parent 57fe11e commit 797eee9
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions css-values-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ Title: CSS Values and Units Module Level 5
Group: CSSWG
Shortname: css-values
Level: 5
Status: FPWD
Prepare for TR: yes
Date: 2024-09-03
Status: ED
Work Status: Exploring
ED: https://drafts.csswg.org/css-values-5/
TR: https://www.w3.org/TR/css-values-5/
Expand Down Expand Up @@ -258,7 +256,7 @@ Interpolation Progress Functional Notations</h2>

The ''progress()'', ''media-progress()'', and ''container-progress()'' [=functional notations=]
represent the proportional distance
of a given value (the <dfn noxexport>progress value</dfn>)
of a given value (the <dfn noexport>progress value</dfn>)
from one value (the <dfn noexport>progress start value</dfn>)
to another value (the <dfn noexport>progress end value</dfn>).
They allow drawing a progress ratio from
Expand Down Expand Up @@ -2181,28 +2179,34 @@ Acknowledgments</h2>
<h2 class="no-num" id="changes">
Changes</h2>

<h3 class=no-num id="changes-recent">
Recent Changes</h3>

(This is a subset of [[#additions-L4]].)

<h3 class=no-num id="additions-L4">
Additions Since Level 4</h3>

Additions since <a href="http://www.w3.org/TR/css-values-4/">CSS Values and Units Level 4</a>:

<ul>
<li>Added the ''toggle()'' and ''attr()'' notations
</ul>
* Added the "comma-upgrading" rules for functional notations.
* Defined several <<url-modifier>>s for <<url>> functions.
* Added the [[#progress|*-progress()]] family of functions, to represent interpolation progress between two values.
* Added the [[#mixing|*-mix()]] family of functions, to represent actually interpolating between two values.
* Added ''first-valid()'', to allow CSS's forward-compatible parsing behavior (drop invalid things, go with what's left) to be used with custom properties and other contexts where validity isn't known until <em>after</em> parsing.
* Added the ''toggle()'' and ''attr()'' functions.
* Added the ''random()'' and ''random-item()'' functions.
* Added the ''sibling-count()'' and ''sibling-index()'' functions.
* Added the ''calc-size()'' function, and the related 'interpolate-size' property.


<h2 class="no-num" id="sec-pri">
Security and Privacy Considerations</h2>
<h2 class="no-num" id="security">
Security Considerations</h2>

This specification mostly just defines units that are common to CSS specifications,
and which present no security concerns.

Note: Does URL handling have a security concern? Probably.

<h2 class="no-num" id="privacy">
Privacy Considerations</h2>

This specification defines units that expose the user's screen size
and default font size,
but both are trivially observable from JS,
Expand Down

0 comments on commit 797eee9

Please sign in to comment.