iska
cfb1707fc4
Implement collapsed, common ancestor & root properties for HTML Range
2016-11-22 01:25:04 +01:00
iska
733780091d
Add method declaration for comparing HTML Ranges
2016-11-22 01:24:02 +01:00
iska
8391a01147
Change HTML Range’s initializer to accept one HTML Document argument
...
According to spec:
“The Range() constructor, when invoked, must return a new range with
(current global object’s associated Document, 0) as its start and end.”
We don’t have a global object (window) with an associated document, thus
we have to pass one instead.
2016-11-22 01:23:17 +01:00
iska
6ed0238a89
Add implementation for setting HTML Range’s boundaries
2016-11-22 01:20:20 +01:00
iska
80299ad9e0
Change HTMLDocumentPosition to NS_OPTIONS instead of NS_ENUM
...
Better interop with Swift
2016-11-22 01:17:32 +01:00
iska
ffc9e629f2
Add index property for HTML Node
2016-11-22 01:15:23 +01:00
iska
394a1a53c4
Add root-node property for HTML Node
2016-11-22 01:15:09 +01:00
iska
14289f96e5
Add method declarations to collapse and select nodes in the HTML Range
...
See:
https://dom.spec.whatwg.org/#range
2016-11-21 01:24:26 +01:00
iska
c57117670f
Add method declarations to initialize and define a HTML Range
...
See:
https://dom.spec.whatwg.org/#range
2016-11-21 01:24:26 +01:00
iska
a08fb84be9
Add properties to HTML Range interface
...
See:
https://dom.spec.whatwg.org/#range
2016-11-21 01:19:31 +01:00
iska
9fd5d34244
Add HTML Range class stub
2016-11-21 01:17:48 +01:00
iska
2fb871a7ff
Add implementation for the length property for HTML Nodes
...
See:
https://dom.spec.whatwg.org/#concept-node-length
https://heycam.github.io/webidl/#dfn-code-unit
2016-11-20 18:36:55 +01:00
iska
76a7930e7d
Bump HTMLKit version to 1.0.0
2016-09-28 02:02:51 +02:00
iska
800336d317
Add nullability annotation for CSSSelectorParser's parse method
2016-09-27 22:32:30 +02:00
iska
7e42fd1e08
Add missing lightweight generics in Parser, Element & Node classes
...
To play nicely with Swift 3
2016-09-20 19:28:08 +02:00
iska
8c312e1508
Bump HTMLKit version to 0.9.4
2016-09-03 16:53:23 +02:00
iska
ca20e6d03f
Add HTMLKit modulemap file
2016-09-03 16:18:28 +02:00
iska
9698919d35
Fix import in private HTMLNode header
2016-08-27 02:07:54 +02:00
iska
9a1a12c788
Remove prefix header and necessary foundation imports
2016-08-27 02:02:43 +02:00
iska
e56a980e80
Move header files into include directory
2016-08-27 01:59:53 +02:00
iska
170c298571
Remove unused strings plist
2016-08-24 20:04:13 +02:00
iska
37444d5899
Move source code to Sources directory
2016-08-24 19:54:41 +02:00