Skip to content

Commit 31f4b39

Browse files
committed
[css-cascade] Define 'property' as a term. w3c#5633
1 parent be5e75b commit 31f4b39

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

css-cascade-4/Overview.bs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,20 @@ spec:css-fonts-4
4343
<h2 id="intro">
4444
Introduction</h2>
4545

46+
CSS defines a finite set of parameters,
47+
called <dfn export for=CSS lt="property">properties</dfn>,
48+
that direct the rendering of a document.
49+
Each [=property=] has a name
50+
(e.g., 'color', 'font-size', or 'border-style'),
51+
a value space
52+
(e.g., <<color>>, <<length-percentage>>, ''[ solid | dashed | dotted | &hellip; ]''),
53+
and a defined behavior on the rendering of the document.
54+
Properties values are assigned to various parts of the document
55+
via [=property declarations=],
56+
which assign the property a value
57+
(e.g. ''red'', ''12pt'', ''dotted'')
58+
for the associated element or box.
59+
4660
One of the fundamental design principles of CSS is <a lt="cascade">cascading</a>,
4761
which allows several style sheets to influence the presentation of a document.
4862
When different declarations try to set a value for the same element/property combination,

css-cascade-5/Overview.bs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,20 @@ spec:css-fonts-4
3636
<h2 id="intro">
3737
Introduction</h2>
3838

39+
CSS defines a finite set of parameters,
40+
called <dfn export for=CSS lt="property">properties</dfn>,
41+
that direct the rendering of a document.
42+
Each [=property=] has a name
43+
(e.g., 'color', 'font-size', or 'border-style'),
44+
a value space
45+
(e.g., <<color>>, <<length-percentage>>, ''[ solid | dashed | dotted | &hellip; ]''),
46+
and a defined behavior on the rendering of the document.
47+
Properties values are assigned to various parts of the document
48+
via [=property declarations=],
49+
which assign the property a value
50+
(e.g. ''red'', ''12pt'', ''dotted'')
51+
for the associated element or box.
52+
3953
One of the fundamental design principles of CSS is <a lt="cascade">cascading</a>,
4054
which allows several style sheets to influence the presentation of a document.
4155
When different declarations try to set a value for the same element/property combination,

0 commit comments

Comments
 (0)