Skip to content

Include additional reasoning for all elements not allowed in the default config #354

@mozfreddyb

Description

@mozfreddyb

I'll do a follow-up for #351.

Right now, I have a very long definition list that states every element that is not allowed in the default config with a long sentence (e.g., "this element is not allowed because ...").

This becomes hard to read, build, review and maintain for various reasons:

  • Long repeated text is hard to scan and skim
  • The spec builds on an allow list. A separate disallow-list in prose text essentially increases the burden to maintain two split lists that are disjunct
  • There's no good way to maintain that the two lists added together are indeed the list of all known elements
  • The definition list does not do proper justice to the attributes that we allow only on some elements.

I will try and build a table of all HTML elements based and go through those instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions