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
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
baf5f1bc14
Getting tests ready for php 7.4 tests
3 years ago
Dustin Wilson
2c2459d98f
100% code coverage on php 8, need to test earlier php versions
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
b00c7f6e47
Wrangling with class lists
3 years ago
Dustin Wilson
c358e09d72
Started TokenList coverage
3 years ago
Dustin Wilson
305c04c937
More Element tests
3 years ago
Dustin Wilson
254cb7eee9
Removed bad test
3 years ago
Dustin Wilson
83566256df
More code coverage progress
3 years ago
Dustin Wilson
330800c48b
ParentNode 100% code coverage
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
c289605756
Document 100% code coverage
3 years ago
Dustin Wilson
9260dbd1f1
Minor cleanup, updated dependencies
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
9706645f39
Minor cleanup
3 years ago
Dustin Wilson
1947e337fb
Pre insertion validity fully tested
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