Skip to content

root scope: @this and @root #241

@Mouvedia

Description

@Mouvedia

hss file

@this {
//this should be matched by the root element
property: keyword;
}

@root {
//and this as well obviously
property: keyword;
}

Starting its hss file with @root { might become the norm since * { can be confusing in case you embed another xml document. Even if it's sanboxed, users could understandably think it's matching its siblings as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions