Skip to content

[css-cascade] Definition of “encapsulation context” #11265

Open
@j9t

Description

@j9t

Moving this from www-style (didn’t look issue-worthy at first):

“CSS Cascading and Inheritance” levels 4–6 speak of an encapsulation context, alas the definition is vague.

The example given, “such as nested tree contexts of shadow trees,” suggests there are other contexts that make for an encapsulation context, but it does not clarify what the determining factor is. In consequence, it seems open, too, whether a declaration would always be part of an encapsulation context, or if it would not.

(I understand an encapsulation context to be “implied,” but how it’s defined and scoped exactly isn’t clear when reviewing.)

Is there another section, not showing up in search, that would clarify, or is (or could) this be clarified in another draft?

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