adding tests for chapter "Definitions"
Changes according Yuta's review notes
tests for 'The TEMPLate element' spec chapter
Tests for the following chaptesr of the specification:
- Creating an element for the token
- Appending to a template
Tests for 'Clearing the stack back to a given context' and 'Additions to "foster parenting"' chapters of the specification
Minor changes according the Dmitry's review notes (mainly variable renaming)
Tests for 'Additions to the "in head" insertion mode' chapter of the spec
Tests for the following chapters of the spec:
- Additions to the "in body" insertion mode
- Additions to the steps to clone a node
- Additions to Parsing XHTML Documents
Tests for the folowing chapters:
- innerHTML on Templates
- Serializing HTML Templates
- Additions to Serializing XHTML Documents
- Additions to the CSS user agent style sheet
Ignore HTML, FRAMESET, HEAD and BODY tokens tests are moved to 7.9 (additions to the in body insertion mode) section
Renamed array of HTML aelements and added isVoidElement() function
Code style improved and assertion wording
Misplaced files removed (moved to parsing-html-templates/ folder)
Use generate_test() for the overlaped tests
Tests rewritten to use generate_tests()
use generate_tests() to check all HTML5 elements
Use assert_readonly() to check that content is readonly
Changed wording, codestyle and ownerDocument to check
Rewritten using generate_tests()
Ref tests files renamed to .xht