Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Treesaver does not support all features provided in HTML/CSS.
The requirements for content structure are more restrictive than normal HTML documents. However, most of the limitations are targeted toward malformed content. Specifically, the limitations are:
No naked text outside of blocks: All text-content must live within a paragraph, or other similar elements. Naked text is also not supported with
No nested paragraphs: A paragraph must only contain inline content. Use
- Element IDs will be stripped: Because an element may be broken across a column or page, we must remove the ID attribute to make sure there is not more than one element with the same ID
Do not rely on #IDs for styling: Because an element can be repeated across columns or pages,
idattributes are removed from all items
Do not rely on
:first-childor similar positional selectors: The pagination process completely changes the document structure, and will wreak havoc on position-dependent styling. Adjacent sibling, and parenting selectors are fine, however.
- Do not use negative margins on flow elements: Not currently supported