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
8d071e2fc3
Changed InnerDOM namespace to Inner
3 years ago
Dustin Wilson
c22a1b54d8
Minor fixes
3 years ago
Dustin Wilson
2525fda748
Document 100% coverage
3 years ago
Dustin Wilson
396e52631b
Starting to fill out Document
3 years ago
Dustin Wilson
029f483ee5
Fixing namespace bugs
3 years ago
Dustin Wilson
d9ea147932
Many updates, tests fail
3 years ago
Dustin Wilson
6fba662683
Simplified NodeList, added NamedNodeMap
3 years ago
Dustin Wilson
afd3644a9a
More work on Node::cloneNode
3 years ago
Dustin Wilson
49742a5709
More work on Node::cloneNode
3 years ago
Dustin Wilson
41129ddc07
Upgraded dependencies, added lots of tests for Node
3 years ago
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
81cc580711
Playing around with wrapper classes
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
852d30e62f
Added interfaces for Node and CharacterData for inheritance
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
3819bec4ca
Simplified circumventing PHP attribute node bugs
3 years ago
Dustin Wilson
13568ded88
Circumventing PHP attribute node bugs... ugh
3 years ago
Dustin Wilson
c5eba977c9
Element 100% code coverage
3 years ago
Dustin Wilson
9fe14c1af1
Manual garbage collection when using class lists
3 years ago
Dustin Wilson
b00c7f6e47
Wrangling with class lists
3 years ago
Dustin Wilson
305c04c937
More Element tests
3 years ago
Dustin Wilson
83566256df
More code coverage progress
3 years ago
Dustin Wilson
e23041a6c3
Moved MagicProperties and Exception to framework repository
3 years ago
Dustin Wilson
302ca7839c
More tests
3 years ago
Dustin Wilson
bdeb2612b3
Adding property types and other PHP 7.4 stuff
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
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
fbd5c9ca59
Cleaning up traits
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
Dustin Wilson
d6f75116da
Nested templates don't work :/
3 years ago
Dustin Wilson
45129b4484
Cleaning up DOM walkers
3 years ago
Dustin Wilson
5f1b388cf7
Trying out HTMLElement
3 years ago
Dustin Wilson
5cc51cc6d5
Changing repo to HTML-DOM
3 years ago
Dustin Wilson
b99cb53c57
DOM still a mess, but committing what I have for the moment
3 years ago
Dustin Wilson
9d2b4acdae
Created MagicProperties trait for managing getters and setters
3 years ago
Dustin Wilson
82eb4828ed
More pretty printing work, cleanup of DOM methods
3 years ago
Dustin Wilson
ebcf7d091e
Continuing work on pretty printing
• New abstract class AbstractElement. Exists so Element can extend new
getters inherited from ContainerNode.
• Folded all serialization functionality into Document, but each node
type's __toString method still works.
• Text now has a couple of nonstandard sibling methods, but those will
be put in their own trait in the future as it's duplicate code from
Element
• ContainerNode and Element both now contain some DOM4 properties
3 years ago
Dustin Wilson
70f8769c93
Starting to move all DOM actual serialization to Document::serialize
3 years ago