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
J. King
7f2f2337d4
Tests for inner/outerHTML getting
3 years ago
J. King
83653f3769
Fix getAttribute()
3 years ago
J. King
3730a8b3f3
Tests for Element::hasAttribute()
3 years ago
Dustin Wilson
3a431fe134
Optimize nodes
3 years ago
J. King
f08f1a1a37
Fix up attribute testing
Coverage is not more specific, and handling of prefixes is improved
3 years ago
J. King
45411b7ccc
Test attribute setting better
3 years ago
Dustin Wilson
80d71e1fb9
Fix reference for Document::body
3 years ago
Dustin Wilson
3a0ffafc7a
Changed ElementRegistry to ElementMap, destructors for ElementMap
3 years ago
J. King
dddb7601f4
Fix typos
3 years ago
J. King
71726e16f7
Do not use appendChild for attributes
3 years ago
Dustin Wilson
6522a5b9d3
Fixed template element referencing, appending attribute nodes removed
3 years ago
J. King
b53274fbdf
Start on attribute-setting tests
3 years ago
Dustin Wilson
f5cca19355
More documentation, disabled C14N
3 years ago