Skip to content

Instantly share code, notes, and snippets.

@tobie
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobie/7a9eb81e3c195ab134f8 to your computer and use it in GitHub Desktop.
Save tobie/7a9eb81e3c195ab134f8 to your computer and use it in GitHub Desktop.
webstorage spec simplified DOM tree
document_node
<BODY>
<HTML>
<TITLE>
text_node
<STYLE>
text_node
<LINK>
<SCRIPT>
text_node
<DIV>
text_node
<P>
<A>
<IMG>
text_node
<H1>
text_node
text_node
<H2>
text_node
text_node
<DL>
text_node
<DT>
text_node
text_node
<DD>
<A>
text_node
text_node
<DT>
text_node
text_node
<DD>
<A>
text_node
text_node
<DT>
text_node
text_node
<DD>
<A>
text_node
text_node
<DT>
text_node
text_node
<DD>
<A>
text_node
text_node
<DD>
<A>
text_node
text_node
<DD>
<A>
text_node
text_node
<DD>
<A>
text_node
text_node
<DD>
<A>
text_node
text_node
<DD>
<A>
text_node
text_node
<DD>
<A>
text_node
text_node
<DD>
<A>
text_node
text_node
comment_node
text_node
<DT>
text_node
text_node
<DD>
<A>
text_node
text_node
text_node
text_node
<P>
text_node
<A>
<STRONG>
text_node
text_node
text_node
<P>
text_node
<A>
<STRONG>
text_node
text_node
text_node
<P>
<A>
text_node
text_node
<A>
<ABBR>
text_node
<SUP>
text_node
text_node
<A>
<ABBR>
text_node
text_node
<A>
<ABBR>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
text_node
comment_node
text_node
<P>
text_node
<A>
text_node
text_node
text_node
comment_node
text_node
<HR>
<H2>
text_node
<P>
text_node
<H2>
text_node
<P>
<EM>
text_node
comment_node
text_node
<A>
text_node
text_node
text_node
<P>
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
text_node
<P>
text_node
<A>
text_node
text_node
comment_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
text_node
comment_node
text_node
comment_node
text_node
<P>
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
text_node
<P>
text_node
text_node
<P>
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<H2>
text_node
<P>
text_node
<P>
text_node
<A>
text_node
text_node
<UL>
<LI>
<A>
text_node
text_node
<LI>
<A>
text_node
text_node
<H2>
text_node
text_node
<OL>
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<OL>
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<OL>
text_node
<LI>
<A>
<SPAN>
text_node
text_node
<CODE>
text_node
text_node
text_node
<LI>
<A>
<SPAN>
text_node
text_node
<CODE>
text_node
text_node
text_node
<LI>
<A>
<SPAN>
text_node
text_node
<CODE>
text_node
text_node
text_node
<OL>
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<LI>
<A>
<SPAN>
text_node
text_node
<CODE>
text_node
text_node
text_node
<OL>
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<OL>
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<OL>
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<LI>
<A>
<SPAN>
text_node
text_node
text_node
<LI>
<A>
text_node
text_node
<LI>
<A>
text_node
text_node
<HR>
<H2>
<SPAN>
text_node
text_node
<P>
<I>
text_node
<P>
text_node
<A>
text_node
<P>
text_node
<P>
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<DIV>
text_node
<P>
text_node
text_node
<PRE>
text_node
text_node
<P>
text_node
text_node
<PRE>
text_node
text_node
<P>
text_node
text_node
<P>
text_node
<P>
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<DIV>
text_node
<P>
text_node
text_node
<PRE>
text_node
text_node
<P>
text_node
<H2>
<SPAN>
text_node
text_node
<P>
text_node
<P>
text_node
<A>
text_node
<P>
text_node
<P>
text_node
<P>
text_node
<P>
text_node
<P>
text_node
<P>
text_node
<H3>
<SPAN>
text_node
text_node
<P>
text_node
<DL>
<DT>
text_node
text_node
<DD>
text_node
<P>
text_node
<A>
text_node
text_node
text_node
<DT>
text_node
text_node
<DD>
text_node
<P>
text_node
<A>
text_node
text_node
text_node
<H2>
<SPAN>
text_node
text_node
<P>
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<P>
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<A>
text_node
<P>
text_node
<EM>
text_node
text_node
<EM>
text_node
text_node
<P>
text_node
<A>
text_node
<H2>
<SPAN>
text_node
text_node
<H3>
<SPAN>
text_node
text_node
<CODE>
<A>
text_node
text_node
<PRE>
text_node
<DFN>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
<VAR>
text_node
text_node
text_node
<VAR>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<VAR>
text_node
text_node
<P>
text_node
<SPAN>
text_node
text_node
<CODE>
<A>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
<VAR>
text_node
text_node
text_node
<VAR>
text_node
text_node
<VAR>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
<VAR>
text_node
text_node
<VAR>
text_node
text_node
text_node
<VAR>
text_node
text_node
<P>
text_node
<VAR>
text_node
text_node
<VAR>
text_node
text_node
<P>
text_node
<VAR>
text_node
text_node
<EM>
text_node
text_node
<VAR>
text_node
text_node
<P>
text_node
<CODE>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
<VAR>
text_node
text_node
text_node
<VAR>
text_node
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<P>
text_node
<H3>
<SPAN>
text_node
text_node
<CODE>
<A>
text_node
text_node
<PRE>
text_node
<DFN>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<SPAN>
text_node
text_node
<A>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
text_node
<SPAN>
text_node
text_node
<P>
text_node
<SPAN>
text_node
text_node
<SPAN>
text_node
text_node
<P>
text_node
<P>
text_node
<P>
text_node
<CODE>
text_node
text_node
<SPAN>
text_node
text_node
<SPAN>
text_node
text_node
<SPAN>
text_node
text_node
<SPAN>
text_node
text_node
<CODE>
text_node
text_node
<SPAN>
text_node
text_node
<EM>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<SPAN>
text_node
text_node
<CODE>
text_node
text_node
<SPAN>
text_node
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
<A>
text_node
text_node
<P>
text_node
<SPAN>
text_node
text_node
<SPAN>
text_node
text_node
<P>
text_node
<SPAN>
text_node
text_node
<SPAN>
text_node
text_node
<SPAN>
text_node
text_node
<CODE>
text_node
text_node
<SPAN>
text_node
text_node
<CODE>
text_node
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<VAR>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<VAR>
text_node
text_node
<CODE>
<A>
text_node
text_node
<A>
text_node
text_node
<H3>
<SPAN>
text_node
text_node
<CODE>
<A>
text_node
text_node
<PRE>
text_node
<DFN>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<SPAN>
text_node
text_node
<A>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
text_node
<CODE>
<A>
text_node
text_node
<SPAN>
text_node
text_node
<P>
text_node
<SPAN>
text_node
text_node
<P>
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<DFN>
<CODE>
text_node
text_node
text_node
<OL>
<LI>
<P>
text_node
<CODE>
text_node
text_node
<CODE>
<A>
text_node
text_node
text_node
<LI>
<P>
text_node
<CODE>
text_node
text_node
<SPAN>
text_node
text_node
<CODE>
text_node
text_node
text_node
<LI>
<P>
text_node
<SPAN>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<SPAN>
text_node
text_node
text_node
<LI>
<P>
text_node
<CODE>
<A>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
<A>
text_node
text_node
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<VAR>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<VAR>
text_node
text_node
<CODE>
<A>
text_node
text_node
<A>
text_node
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<SPAN>
text_node
text_node
<H4>
<SPAN>
text_node
text_node
<P>
text_node
<CODE>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<SPAN>
text_node
text_node
<SPAN>
text_node
text_node
<SPAN>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
<A>
text_node
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<CODE>
text_node
text_node
<H3>
<SPAN>
text_node
text_node
<CODE>
<A>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<P>
text_node
<SPAN>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
<A>
text_node
text_node
<P>
text_node
<CODE>
text_node
text_node
<SPAN>
text_node
text_node
<SPAN>
text_node
text_node
<CODE>
text_node
text_node
<SPAN>
text_node
text_node
<P>
text_node
<SPAN>
text_node
text_node
<SPAN>
text_node
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<SPAN>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
text_node
text_node
<CODE>
<A>
text_node
text_node
<H4>
<SPAN>
text_node
text_node
<PRE>
text_node
<A>
text_node
text_node
<DFN>
text_node
text_node
<SPAN>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<A>
text_node
text_node
<DFN>
text_node
text_node
<SPAN>
text_node
text_node
<A>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
text_node
<P>
text_node
<DFN>
<CODE>
text_node
text_node
<CODE>
<A>
text_node
text_node
<H3>
<SPAN>
text_node
text_node
<P>
text_node
<A>
text_node
text_node
<SPAN>
text_node
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<CODE>
<A>
text_node
text_node
<H2>
<SPAN>
text_node
text_node
<P>
text_node
<P>
text_node
<P>
text_node
<P>
text_node
<P>
text_node
<SPAN>
text_node
text_node
<H2>
<SPAN>
text_node
text_node
<H3>
<SPAN>
text_node
text_node
<P>
text_node
<P>
text_node
<DL>
<DT>
text_node
text_node
<DD>
text_node
<P>
text_node
<CODE>
<A>
text_node
text_node
<SPAN>
text_node
text_node
<CODE>
text_node
text_node
text_node
text_node
<DT>
text_node
text_node
<DD>
text_node
<P>
text_node
text_node
<P>
text_node
<SPAN>
text_node
text_node
text_node
<P>
text_node
text_node
<P>
text_node
text_node
text_node
<DT>
text_node
text_node
<DD>
text_node
<P>
text_node
<A>
text_node
text_node
text_node
<DT>
text_node
text_node
<DD>
text_node
<P>
text_node
text_node
text_node
<DT>
text_node
text_node
<DD>
text_node
<P>
text_node
<SPAN>
text_node
text_node
text_node
<P>
text_node
text_node
text_node
<DT>
text_node
text_node
<DD>
text_node
<P>
text_node
text_node
<P>
text_node
text_node
text_node
<P>
text_node
<P>
text_node
<H3>
<SPAN>
text_node
text_node
<P>
text_node
<P>
text_node
<H2>
<SPAN>
text_node
text_node
<H3>
<SPAN>
text_node
text_node
<P>
text_node
<H3>
<SPAN>
text_node
text_node
<P>
text_node
<CODE>
text_node
text_node
<P>
text_node
<H3>
<SPAN>
text_node
text_node
<P>
text_node
<P>
text_node
<EM>
text_node
text_node
<P>
text_node
<EM>
text_node
text_node
<P>
text_node
<SPAN>
text_node
text_node
<H2>
text_node
<P>
text_node
<DL>
<DT>
text_node
text_node
<DD>
<CITE>
<A>
text_node
text_node
text_node
<DT>
text_node
text_node
<DD>
<CITE>
<A>
text_node
text_node
text_node
<DT>
text_node
text_node
<DD>
<CITE>
<A>
text_node
text_node
text_node
<DT>
text_node
text_node
<DD>
<CITE>
<A>
text_node
text_node
text_node
<DT>
text_node
text_node
<DD>
<CITE>
<A>
text_node
text_node
text_node
<DT>
text_node
text_node
<DD>
<CITE>
<A>
text_node
text_node
text_node
<H2>
text_node
<P>
text_node
<A>
text_node
text_node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment