Skip to content

Properties shouldn't be reset by any value #103

@Mouvedia

Description

@Mouvedia
@container object1 {
    background: whatever;
}
state
{
    isA: object2, object1;
}
@container object2 {
    background: #0;
}

expected result:
black
current result:
white

Since there are no @value whatever { } found in the HSS file: the "whatever" value should be considered invalid and the declaration ignored (hence not resetting the one in the previous object). It shouldn't be completely discarded because you could for example dynamically import another HSS file (which would contain the definition of the missing @value).

Short: ignore it but re-evaluate it for the inspector (edit) or file importation (addition).

affected: v0.48.1.49

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions