Releases: PhpGt/Dom
Releases · PhpGt/Dom
Full DOM compatibility
- All DOM class implementations' methods/properties tested
- UTF-8 compatible
- Level 4 methods (matches, remove, etc.)
- TokenList
- Fully type-hinted to PHP 7.0 capabilities, docblocks used where needed
Full element functionality
This release marks the point where all features are implemented and tested for the current list of classes. Functionality lists were provided by MDN documentation for each DOM class.
Namespace change, PHPDoc updates
v0.3.2 Clean up, closes #60.
Coding style, tests & documentation
- All files are updated to comply with the [PHP.Gt Styleguide][styleguide].
- Tests are at 100% now but there is always room for improvement; existing tests hardened.
- Documentation updates.
TokenList implementation
Along with the implementation of DOM TokenList
, we are now at 100% code coverage!
Harden tests
Here we have another release of more tests. We'll be at 100% soon!
Harden tests
The following extra tests are now made:
- NonDocumentTypeChildNode trait.
- Named items.
- Iteration of HTMLCollection.
XMLDocument
For completeness, the XMLDocument class is introduced.
More tests and CI updates
- Updated dependencies.
- Improved
closest
selector mechanism. - Tests hardened.
- CI improvements.
Small outstanding features implemented
Thanks to Álvaro Guimarães for most of the work in this release.
HTMLCollection
is nowCountable
.HTMLCollection
implementsArrayAccess
methods.Element::closest
method.HTMLDocument
can be constructed from existing nativeDOMDocument
.- Upgraded dependencies.
- Test coverage increased greatly.