Skip to content

Nested element selector doesn't parse correctly #84

@nzakas

Description

@nzakas

When a nested rule begins with an element selector, the parser fails. For example:

/* doesn't work */
main {
   p {
      margin-top: 0;
   }
}

This is because the parser currently can't determine if p is the start of a property name or the start of a selector.

We need to fix this to work.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Implementing

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions