//! Types for all standard HTML5 elements. use typed_html_macros::declare_elements; use dom::{Node, TextNode}; use types::*; // Marker traits for element content groups pub trait MetadataContent: Node {} pub trait FlowContent: Node {} pub trait SectioningContent: Node {} pub trait HeadingContent: Node {} // Phrasing content seems to be entirely a subclass of FlowContent pub trait PhrasingContent: FlowContent {} pub trait EmbeddedContent: Node {} pub trait InteractiveContent: Node {} pub trait FormContent: Node {} // Traits for elements that are more picky about their children pub trait DescriptionListContent: Node {} pub trait HGroupContent: Node {} pub trait MapContent: Node {} pub trait MediaContent: Node {} //