iska
b64cfc9c1e
Remove historic HTML Node types
2015-12-23 03:02:18 +01:00
iska
fd965e014d
Add source documentation for the HTML Node
2015-12-20 19:11:52 +01:00
iska
9815d3b39e
Add nullability annotations throughout the code base
2015-11-30 02:49:58 +01:00
iska
30dc6cf343
Add HTML Node method to count child elements
2015-11-28 21:09:44 +01:00
iska
c09adc2f96
Add Node properties for previous and next sibling elements
2015-11-27 01:10:07 +01:00
iska
8cb088367d
Add Node methods to handle child elements' indices
2015-11-27 00:46:57 +01:00
iska
95ffccf67b
Add HTML Node methods for selecting elements with given CSS Selectors
2015-10-23 22:49:25 +02:00
iska
df53870880
Drop the "Node" suffix from HTML Node's first child & last child properties
...
https://dom.spec.whatwg.org/#interface-node
2015-06-06 19:04:03 +02:00
iska
a390edf599
Reintroduce the HTMLNodeFilterValue for Tree Walker implementation
...
While the Node Iterator treats skip & reject the same way, the Tree Walker can skip over a node
and all its children if rejected.
This reverses dc3de7a470
2015-06-05 23:00:50 +02:00
iska
40400864d8
Add block-based API for Node Filter
...
- HTMLNodeFilterBlock is a block-based class implementation conforming to HTMLNodeFilter
- HTMLNode & NodeIterator get block-based initializers
2015-06-05 18:06:23 +02:00
iska
c1b18f527c
Refactor Node Iterator's initializers so that the filter argument is last
2015-06-05 17:04:28 +02:00
iska
d002c6cedd
Add HTML Node methods for comparing node positions in a tree
...
https://dom.spec.whatwg.org/#dom-node-comparedocumentpositionother
2015-05-31 16:53:54 +02:00
iska
3df5a219e1
Add Node Iterator initializers with filter and show-options arguments
2015-05-28 23:26:08 +02:00
iska
cd6e8bf4fc
Remove Tree Enumerator since it was superseded by the Node Iterator implementation
2015-05-28 01:22:29 +02:00
iska
de597a51a4
Reorganize HTML DOM classes
2015-05-27 00:53:58 +02:00
iska
915f4cc064
Remove baseURI property from HTMLNode
...
Proper support will be implemented when needed.
2015-05-27 00:38:07 +02:00
iska
11af0509a3
Rename type property to nodeType in HTMLNode for better clarity
2015-05-27 00:37:23 +02:00
iska
74aec57785
Add method to set inner HTML of an Element
2015-05-21 00:20:20 +02:00
iska
2c9f68e2ea
Add Node methods to prepend nodes
2015-05-02 21:08:21 +02:00
iska
1bc896efc9
Add tests for HTML Node methods
...
Todo: Tests for negative cases, e.g. invalid manipulations that lead to hierarchy or not found errors.
2015-04-23 00:43:06 +02:00
iska
d6f5434ab8
Add implementation for text-content in the HTML Element
2015-04-08 00:29:00 +02:00
iska
3df247f91f
Add HTML Node method to pass own child nodes to another node
...
This is used in the adoption-agency-algorithm to copy all text-child-nodes from the furthest-block
to the new-element
2015-04-05 13:33:46 +02:00
iska
5a140220b1
Fix HTML Node parent-related property references to "weak"
...
A node shouldn't have a strong reference to its parent or owner document
2015-04-04 02:17:42 +02:00
iska
4151bf8b7a
Add HTML Node methods to append an array of nodes and remove all child nodes
2015-04-04 02:15:09 +02:00
iska
36b74b5766
Add HTML fragment serialization (inner & outer HTML)
...
https://html.spec.whatwg.org/multipage/syntax.html#serialising-html-fragments
2015-03-31 01:01:41 +02:00
iska
880f36ee05
Group enumeration method together in the Node class
2015-03-30 23:31:58 +02:00
iska
22e397b1f4
Add a tree-description method for HTML Node
...
The tree description method dumps the HTML tree rooted at this node in the same style
as the HTML5Lib tests
2015-03-30 23:30:41 +02:00
iska
83c9841122
Add implementation for HTML Node Tree Enumerator
...
Tree-Order (pre-order) enumeration for HTML Node and its descendants
2015-03-29 00:00:01 +01:00
iska
d8d191cb5a
Add implementation for the HTML Node and its Mutation Algorithms
...
https://dom.spec.whatwg.org/#mutation-algorithms
2015-03-19 00:42:43 +01:00
iska
79856255da
Add header that imports all HTML Nodes for convenience
2015-02-28 00:56:35 +01:00
iska
fade192485
Rename HTML Node Type enum values
...
Use HTMLNode<type> instead of HTML<type>Node
2015-02-26 20:09:27 +01:00
iska
c45adc581b
Add HTML Comment node
...
https://dom.spec.whatwg.org/#interface-comment
2015-02-26 20:08:06 +01:00
iska
da00182ff2
Add HTML Node interface
...
https://dom.spec.whatwg.org/#interface-node
2015-02-25 22:38:02 +01:00