Skip to content

[css-cascade] More hyperlinks of "declaration" term #6837

@cvrebert

Description

@cvrebert

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, [...]

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:

use the term extensively. I'd argue for at least linking the first usage of the term (declaration) 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions