Dustin Wilson
ea955e77b9
Starting testing
3 years ago
Dustin Wilson
cc3056da45
Added Attr, HTMLCollection
3 years ago
Dustin Wilson
5918e694ea
Node fully implemented, not tested
3 years ago
Dustin Wilson
57823fc964
DOMImplementation, DocumentType, etc.
3 years ago
Dustin Wilson
0eb04c81de
Added DocumentFragment & HTMLTemplateElement
3 years ago
Dustin Wilson
f370dbc288
More progress with wrapper classes, added NodeList
3 years ago
Dustin Wilson
81cc580711
Playing around with wrapper classes
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
bba1bb2fe8
Added ParentNode::querySelector & ParentNode::querySelectorAll
3 years ago
Dustin Wilson
ec0ffbbd92
Added NodeTrait::contains
3 years ago
Dustin Wilson
1f820a9e7e
More cleanup
3 years ago
Dustin Wilson
71d6e17ec4
Cleaning up
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
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
Dustin Wilson
24ac00c5eb
Dropping support for PHP 7.4
• Tests did pass in 7.4, but numerous warnings were triggered concerning
method declaration type differences because php 7.4's type declarations
for DOM methods were mostly nonexistent.
3 years ago
Dustin Wilson
3819bec4ca
Simplified circumventing PHP attribute node bugs
3 years ago
Dustin Wilson
13568ded88
Circumventing PHP attribute node bugs... ugh
3 years ago
Dustin Wilson
aabd3a304d
Test fails because of PHP bug
3 years ago
Dustin Wilson
c5eba977c9
Element 100% code coverage
3 years ago
Dustin Wilson
83566256df
More code coverage progress
3 years ago
Dustin Wilson
d2fc1738ac
Upgraded mensbeam/html-parser
3 years ago
Dustin Wilson
e23041a6c3
Moved MagicProperties and Exception to framework repository
3 years ago
Dustin Wilson
136b1420a2
MagicProperties 100% covered, starting Node
3 years ago
Dustin Wilson
302ca7839c
More tests
3 years ago
Dustin Wilson
c289605756
Document 100% code coverage
3 years ago
Dustin Wilson
bdeb2612b3
Adding property types and other PHP 7.4 stuff
3 years ago
Dustin Wilson
728ef845ea
Formatted serializing is now covered
3 years ago
Dustin Wilson
d742a9e0d7
Test harness built for formatted serializing, fixed serializer bugs
3 years ago
Dustin Wilson
8888179bd8
Worked on pre insertion validity coverage and bugs in it
3 years ago
Dustin Wilson
081929c281
Code coverage; Document 82.76%
• Moved all of preInsertionValidity to ParentNode; removed
AbstractDocument
• Added host property to HTMLTemplateElement
• Increased required PHP version to 7.4
3 years ago
Dustin Wilson
10269fc2f1
Working on code coverage; Document 63.33%
3 years ago
Dustin Wilson
611bdd5d70
More Element tests
3 years ago
Dustin Wilson
58c6456fc1
Fixes and more Element tests
3 years ago
Dustin Wilson
7b427d4019
More tests
3 years ago
Dustin Wilson
7940aeac97
More tests, updated name coercion
3 years ago
Dustin Wilson
691c5334b1
More tests
3 years ago
Dustin Wilson
debaa3f388
Fixing template element references
• ElementSet is now ElementMap again because it's now internally a map
of a Document and an array of Elements, but it's public API is still
that of a set.
• Template elements are now only added as a reference in ElementMap when
they're appended to a document. If they're removed, they're removed from
ElementMap. If a template element's owner document is destructed then it
and all of the other template elements in the document are removed from
ElementMap.
3 years ago
Dustin Wilson
4eeb45b816
Added support for html namespace, 1 test fails now
3 years ago
Dustin Wilson
62103ce954
Tests fixed (so far)
3 years ago
Dustin Wilson
875963e697
Document changes
• Made Document::createAttribute and Document::createAttributeNS more in line with the DOM spec.
• Tests still fail because they're wrong
3 years ago
Dustin Wilson
d093e43066
Rewrote Document::createElement and Document::createElementNS
• Both now more closely follow the spec
3 years ago
Dustin Wilson
4deab6b1ac
Upgraded deps, started rewriting tests
3 years ago
Dustin Wilson
cca9ab04b8
All tests (so far!) pass
3 years ago
Dustin Wilson
e22e23da0c
HTMLTemplateElements are now properly created when importing nodes
3 years ago