Dustin Wilson
4ab67fbdad
Added DOMTokenList, added back in tests
3 years ago
Dustin Wilson
b5f56b31a6
More tests on Element
3 years ago
Dustin Wilson
bb8850064c
More tests for Element, found coercion issue in Parser
3 years ago
Dustin Wilson
82c9dac054
Continuing with tests
3 years ago
Dustin Wilson
08d893f1f9
Added namespace constants to Node
3 years ago
Dustin Wilson
be1e6cb65f
DocumentOrElement 100% covered
3 years ago
Dustin Wilson
8d071e2fc3
Changed InnerDOM namespace to Inner
3 years ago
Dustin Wilson
775328fe75
Further tests
3 years ago
Dustin Wilson
a0c2b27143
Started testing DocumentOrElement
3 years ago
Dustin Wilson
ceef07f1ae
Cleaning up test docblocks
3 years ago
Dustin Wilson
2525fda748
Document 100% coverage
3 years ago
Dustin Wilson
e396b33eca
More tests for Document
3 years ago
Dustin Wilson
fb5cad11b7
Adding more tests for Document
3 years ago
Dustin Wilson
396e52631b
Starting to fill out Document
3 years ago
Dustin Wilson
663f81d155
Node 100% coverage
3 years ago
Dustin Wilson
7ab2be9de3
Adding more tests for Node::replaceChild
3 years ago
Dustin Wilson
80135ef2a6
Started adding test cases for Node::replaceChild
3 years ago
Dustin Wilson
0b41f8d7b4
Filling out code coverage on protected methods
3 years ago
Dustin Wilson
29d264a3e2
More tests
3 years ago
Dustin Wilson
029f483ee5
Fixing namespace bugs
3 years ago
Dustin Wilson
16f5851b5b
Adding more tests
3 years ago
Dustin Wilson
5e187634d2
Re-integrated serializer, more tests
3 years ago
Dustin Wilson
2a01b0bd85
Cleaning up tests
3 years ago
Dustin Wilson
8a9123a372
More tests added to Node
3 years ago
Dustin Wilson
d9ea147932
Many updates, tests fail
3 years ago
Dustin Wilson
ff415e5277
Optimizations
• Focus was on not generating wrapped classes unless necessary
• Node::getRootNode now traverses the inner DOM.
• Node::isEqualNode now compares inner nodes.
• Node::locateNamespace and Node::locateNamespacePrefix now uses the inner DOM
• Node::preInsertionValidity now checks exclusively on the inner DOM except on templates.
• Optimized walk generators
3 years ago
Dustin Wilson
a91ace0421
Rewrote node cloning
3 years ago
Dustin Wilson
6fba662683
Simplified NodeList, added NamedNodeMap
3 years ago
Dustin Wilson
49742a5709
More work on Node::cloneNode
3 years ago
Dustin Wilson
1ffe918af1
Started Node::cloneNode tests, updated README with limitations
3 years ago
Dustin Wilson
d2d916f18c
Circumvented PHP DOM textContent bug
3 years ago
Dustin Wilson
2798925510
Adding tests for Node::textContent, found yet another PHP DOM bug
3 years ago
Dustin Wilson
17aa915653
All properties on Node are now tested
3 years ago
Dustin Wilson
41129ddc07
Upgraded dependencies, added lots of tests for Node
3 years ago
Dustin Wilson
d24f569991
More tests, started adding name coercion back in
3 years ago
Dustin Wilson
ea955e77b9
Starting testing
3 years ago
Dustin Wilson
8f471ef430
Started adding Document::adoptNode
3 years ago
Dustin Wilson
bbe22e2e61
Added properties to Document
• Added Document::compatMode
• Removed Document::quirksMode
• Added Document::characterSet
• Added Document::charset
• Added Document::inputEncoding
• Added Document::contentType
3 years ago
Dustin Wilson
8d9249ddea
querySelector no longer throws exceptions if not syntax error
3 years ago
Dustin Wilson
bba1bb2fe8
Added ParentNode::querySelector & ParentNode::querySelectorAll
3 years ago
Dustin Wilson
ec0ffbbd92
Added NodeTrait::contains
3 years ago
Dustin Wilson
1080c7e876
Added NodeTrait::isEqualNode
3 years ago
Dustin Wilson
852d30e62f
Added interfaces for Node and CharacterData for inheritance
3 years ago
Dustin Wilson
0cd7678545
BaseNode::compareDocumentPosition added to tests
3 years ago
Dustin Wilson
4bec2ec108
Test fails because of PHP bug, will fix
3 years ago
Dustin Wilson
2b36c3a195
Changed walker APIs
3 years ago
Dustin Wilson
d7cab23226
Added in BaseNode::compareDocumentPosition
• BaseNode::compareDocumentPosition is not tested yet
• To facilitate preceding/following support Walk::walkShallow now has a
startingNode parameter.
3 years ago
Dustin Wilson
d99efa6e44
Disabled more methods
3 years ago
Dustin Wilson
b69a152f8e
added ChildNode::replaceWith
3 years ago
Dustin Wilson
2e07af4edb
Added ChildNode::before, started on a bit of documentation
3 years ago