Skip to content

Commit a9ffaf4

Browse files
committed
[css-values-3][css-values-4] Resync Levels Round 2
1 parent 182c50a commit a9ffaf4

File tree

2 files changed

+40
-3
lines changed

2 files changed

+40
-3
lines changed

css-values-3/Overview.bs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,13 @@ Textual Data Types</h2>
369369
consist of a sequence of characters conforming to the <<ident-token>> grammar. [[!CSS-SYNTAX-3]]
370370
Identifiers cannot be quoted;
371371
otherwise they would be interpreted as strings.
372+
CSS properties accept two classes of <a>identifiers</a>:
373+
[[#keywords|pre-defined keywords]]
374+
and [[#custom-idents|author-defined identifiers]].
375+
376+
Note: The <<ident>> production is not meant for property value definitions--
377+
<<custom-ident>> should be used instead.
378+
It is provided as a convenience for defining other syntactic constructs.
372379

373380
<!--
374381
██ ██ ████████ ██ ██ ██ ██ ███████ ████████ ████████ ██████
@@ -686,6 +693,15 @@ URL Modifiers</h4>
686693
<h2 id="numeric-types">
687694
Numeric Data Types</h2>
688695

696+
Numeric data types are used to represent
697+
quantities, indexes, positions, and other such values.
698+
Although many syntactic variations can exist
699+
in expressing the quantity (numeric aspect) in a given numeric value,
700+
the <a lt="specified value">specified</a> and <a>computed value</a>
701+
do not distinguish these variations:
702+
they represent the value’s abstract quantity,
703+
not its syntactic representation.
704+
689705
The <dfn>numeric data types</dfn> include
690706
<<integer>>,
691707
<<number>>,
@@ -1315,7 +1331,7 @@ Absolute Lengths: the ''cm'', ''mm'', ''Q'', ''in'', ''pt'', ''pc'', ''px'' unit
13151331
were not related by a fixed ratio:
13161332
the [=physical units=] were always tied to their physical measurements
13171333
while the [=pixel unit=] would vary to most closely match the reference pixel.
1318-
(This unfortunately change
1334+
(This unfortunate change
13191335
was made because too much existing content relies on the assumption of 96dpi,
13201336
and breaking that assumption broke the content.)
13211337

css-values-4/Overview.bs

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ Relative URLs</h4>
841841
<h5 id='local-urls'>
842842
Fragment URLs</h5>
843843

844-
To work around some common eccentricites in browser URL handling,
844+
To work around some common eccentricities in browser URL handling,
845845
CSS has special behavior for fragment-only urls.
846846

847847
If a ''url()''’s value starts with a U+0023 NUMBER SIGN (<code>#</code>) character,
@@ -1052,6 +1052,12 @@ Real Numbers: the <<number>> type</h3>
10521052
Number values are denoted by <dfn id="number-value">&lt;number></dfn>,
10531053
and represent real numbers, possibly with a fractional component.
10541054

1055+
<wpt>
1056+
css/css-animations/animation-iteration-count-calc.html
1057+
css/CSS2/values/numbers-units-002.xht
1058+
css/CSS2/values/numbers-units-003.xht
1059+
</wpt>
1060+
10551061
When written literally,
10561062
a <dfn export>number</dfn> is either an <a>integer</a>,
10571063
or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits
@@ -1547,6 +1553,18 @@ Font-relative Lengths: the ''em'', ''ex'', ''cap'', ''ch'', ''ic'', ''rem'', ''l
15471553
and 'text-orientation' is ''text-orientation/upright'').
15481554

15491555
<wpt>
1556+
css/css-values/ch-unit-001.html
1557+
css/css-values/ch-unit-002.html
1558+
css/css-values/ch-unit-003.html
1559+
css/css-values/ch-unit-004.html
1560+
css/css-values/ch-unit-008.html
1561+
css/css-values/ch-unit-009.html
1562+
css/css-values/ch-unit-010.html
1563+
css/css-values/ch-unit-011.html
1564+
css/css-values/ch-unit-012.html
1565+
css/css-values/ch-unit-016.html
1566+
css/css-values/ch-unit-017.html
1567+
css/css-values/line-break-ch-unit.html
15501568
css/css-values/calc-ch-ex-lang.html
15511569
</wpt>
15521570

@@ -1665,6 +1683,8 @@ Viewport-percentage Lengths: the ''vw'', ''vh'', ''vi'', ''vb'', ''vmin'', ''vma
16651683
any scroll bars are assumed not to exist.
16661684
<span class='note'>Note that the initial containing block's size is affected by the presence of scrollbars on the viewport.</span>
16671685

1686+
ISSUE(1766): Level 3 assumes scrollbars never exist because it was hard to implement. This is making authors unhappy.
1687+
16681688
For [=paged media=], the exact definition of the viewport-percentage lengths
16691689
is deferred to [[!CSS3PAGE]].
16701690

@@ -4662,7 +4682,8 @@ Additions Since Level 3</h3>
46624682
and their clarified computed values.
46634683
<li>Defined the <<dashed-ident>> type.
46644684
<li>Added ''src()'' to the <<url>> type.
4665-
<li>Added the ''vi'', ''vb'', ''ic'', ''cap'', ''lh'' and ''rlh'' units.
4685+
<li>Added the ''vi'', ''vb'', ''ic'', ''cap'', ''lh'' and ''rlh'' length units.
4686+
<li>Added the ''x'' alias to ''dppx''.
46664687
<li>Added ''min()'', ''max()'', and ''clamp()''
46674688
[[#comp-func|comparison functions]].
46684689
<li>Added ''round()'', ''mod()'', ''rem()'', ''sin()'', ''cos()'', ''tan()'', ''asin()'', ''acos()'', ''atan()'', ''atan2()'', ''pow()'', ''sqrt()'', ''hypot()'', ''log()'', ''exp()'', ''abs()'', ''sign()''

0 commit comments

Comments
 (0)