html-document icon indicating copy to clipboard operation
html-document copied to clipboard

Add ValidElement classes

Open royallthefourth opened this issue 8 years ago • 0 comments

Valid element classes only accept children of the correct type.

This feature can probably be implemented as a hierarchy of empty interfaces. It isn't enough to ensure document validity, but it's a huge step in that direction. The next step would require doing the same for attributes, but this would be a breaking change. I'll save the breaking changes for until I've proven that this technique works.

royallthefourth avatar Nov 22 '16 02:11 royallthefourth