Dustin Wilson
ea955e77b9
Starting testing
3 years ago
Dustin Wilson
bba1bb2fe8
Added ParentNode::querySelector & ParentNode::querySelectorAll
3 years ago
Dustin Wilson
1080c7e876
Added NodeTrait::isEqualNode
3 years ago
Dustin Wilson
4bec2ec108
Test fails because of PHP bug, will fix
3 years ago
Dustin Wilson
2e07af4edb
Added ChildNode::before, started on a bit of documentation
3 years ago
Dustin Wilson
aabd3a304d
Test fails because of PHP bug
3 years ago
Dustin Wilson
e23041a6c3
Moved MagicProperties and Exception to framework repository
3 years ago
Dustin Wilson
9facc1fd71
More tests
3 years ago
Dustin Wilson
911d6c1801
Node, Walk code coverage 100%
3 years ago
Dustin Wilson
136b1420a2
MagicProperties 100% covered, starting Node
3 years ago
Dustin Wilson
302ca7839c
More tests
3 years ago
Dustin Wilson
16174b9937
DocumentFragment, DOMException, Exception 100% code coverage
3 years ago
Dustin Wilson
8888179bd8
Worked on pre insertion validity coverage and bugs in it
3 years ago
Dustin Wilson
58c6456fc1
Fixes and more Element tests
3 years ago
Dustin Wilson
7b427d4019
More tests
3 years ago
Dustin Wilson
691c5334b1
More tests
3 years ago
Dustin Wilson
4deab6b1ac
Upgraded deps, started rewriting tests
3 years ago
Dustin Wilson
d6f75116da
Nested templates don't work :/
3 years ago
Dustin Wilson
15aa960174
Now uses mensbeam\html-parser.
• Document::__construct now accepts \DOMDocument|string|null as its source.
• Document::serialize has been removed in favor of Document::saveHTML, making it more in line with PHP's DOM.
• Added Document::loadDOM for loading a vanilla PHP \DOMDocument into this library. As mentioned above Document::__constructor also accepts a \DOMDocument.
• Document::importNode will correctly convert an imported template element as a HTMLTemplateElement.
• TemplateElement is now HTMLTemplateElement.
• DOM walker methods now correctly check if the output of the closure is true
• Unnecessary test cases removed.
3 years ago
J. King
9eacd21c9d
Test edges of element serialization
3 years ago
J. King
3114f3a9bb
Fix most serializer test failures
Three remain related to xmlns attributes
3 years ago
J. King
b4d2f21199
Add missing tests for charset pre-scan
3 years ago
J. King
eea70eccd8
Test harness for tree construction
3 years ago
J. King
49f31015ac
Start on character encoding detection
4 years ago
J. King
f360206a34
Basic endless loop helper
4 years ago
J. King
1971892635
Basic skeleton of test suite
4 years ago