[csswg-drafts] [css-cascade] More hyperlinks of "declaration" term (#6837)

cvrebert has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-cascade] More hyperlinks of "declaration" term ==
In the section https://drafts.csswg.org/css-cascade/#intro , the jargon "property declaration" is referenced, and hyperlinked to its formal definition in the Syntax spec:

> Properties values are assigned to various parts of the document via [property declarations](https://drafts.csswg.org/css-syntax-3/#css-property-declarations), [...]

But the rest of the Cascade spec is stingy in not hyperlinking any other instances of the term "declaration". The silent switch from "property declaration" to just "declaration" (after this first usage) also doesn't aid clarity.

In particular, the sections:
* https://drafts.csswg.org/css-cascade/#filtering
* https://drafts.csswg.org/css-cascade/#cascading

use the term extensively. I'd argue for at least linking the first usage of the term ([declaration](https://drafts.csswg.org/css-syntax-3/#css-property-declarations)) in each subsection of those sections.

Additionally, in a later paragraph of https://drafts.csswg.org/css-cascade/#intro , the sentence

> The cascading and defaulting process takes a set of **declarations** as input, and outputs a specified value for each property on each element.

should hyperlink "declarations", so that the types of both the input and output are clear; "specified value" in the sentence is already hyperlinked.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6837 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 28 November 2021 04:27:37 UTC