Skip to content

Commit

Permalink
[css-cascade] Define 'property' as a term. #5633
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasai committed Jan 13, 2021
1 parent be5e75b commit 31f4b39
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions css-cascade-4/Overview.bs
Expand Up @@ -43,6 +43,20 @@ spec:css-fonts-4
<h2 id="intro">
Introduction</h2>

CSS defines a finite set of parameters,
called <dfn export for=CSS lt="property">properties</dfn>,
that direct the rendering of a document.
Each [=property=] has a name
(e.g., 'color', 'font-size', or 'border-style'),
a value space
(e.g., <<color>>, <<length-percentage>>, ''[ solid | dashed | dotted | &hellip; ]''),
and a defined behavior on the rendering of the document.
Properties values are assigned to various parts of the document
via [=property declarations=],
which assign the property a value
(e.g. ''red'', ''12pt'', ''dotted'')
for the associated element or box.

One of the fundamental design principles of CSS is <a lt="cascade">cascading</a>,
which allows several style sheets to influence the presentation of a document.
When different declarations try to set a value for the same element/property combination,
Expand Down
14 changes: 14 additions & 0 deletions css-cascade-5/Overview.bs
Expand Up @@ -36,6 +36,20 @@ spec:css-fonts-4
<h2 id="intro">
Introduction</h2>

CSS defines a finite set of parameters,
called <dfn export for=CSS lt="property">properties</dfn>,
that direct the rendering of a document.
Each [=property=] has a name
(e.g., 'color', 'font-size', or 'border-style'),
a value space
(e.g., <<color>>, <<length-percentage>>, ''[ solid | dashed | dotted | &hellip; ]''),
and a defined behavior on the rendering of the document.
Properties values are assigned to various parts of the document
via [=property declarations=],
which assign the property a value
(e.g. ''red'', ''12pt'', ''dotted'')
for the associated element or box.

One of the fundamental design principles of CSS is <a lt="cascade">cascading</a>,
which allows several style sheets to influence the presentation of a document.
When different declarations try to set a value for the same element/property combination,
Expand Down

0 comments on commit 31f4b39

Please sign in to comment.