Commit Graph
421 Commits
Author SHA1 Message Date
iska 4592037aba Fix "return" attribute in source code documentation
@returns is ignored by jazzy
2016-01-18 21:48:00 +01:00
iska 700587b101 Rename the negation selector to "not" 2015-12-23 21:10:40 +01:00
iska 6c28dad930 Finalize parsing for <ruby> elements in the HTML Parser
https://github.com/whatwg/html/pull/101
2015-12-23 20:44:16 +01:00
iska 85edf33950 Reset the document's ready state on document initialization in the HTML Parser 2015-12-23 16:20:42 +01:00
iska e80188dd00 Specify the generic type of the Node Iterator 2015-12-23 03:02:30 +01:00
iska b64cfc9c1e Remove historic HTML Node types 2015-12-23 03:02:18 +01:00
iska 7377ec550f Improve HTML Parser errors 2015-12-22 17:56:25 +01:00
iska 766c901e38 Fix format specifier in the index-based CSS selector names 2015-12-22 02:52:30 +01:00
iska 974e5a1615 Refactor emit-error method in the CSS parser with implicit location reporting 2015-12-22 02:43:04 +01:00
iska f57e265cba Change "lt", "gt" & "eq"-selectors to accept an unsigned integer index 2015-12-22 02:35:00 +01:00
iska 4bb681eb78 Add missing CSS structural selectors to the parser 2015-12-22 02:32:03 +01:00
iska c4a5aa1bd9 Fix assignment in the initializer of attribute selector 2015-12-22 02:31:45 +01:00
iska be34a57e6f Add CSS parsing for "lt", "gt" & "eq"-selectors 2015-12-22 02:19:22 +01:00
iska 01694a5fdf Add CSS parsing for extension selectors 2015-12-22 02:18:48 +01:00
iska b55ca26c7e Add HTML stream method to consume a decimal number 2015-12-22 02:13:50 +01:00
iska 846b6114fc Add source code documentation for the CSS Selector classes 2015-12-21 22:21:55 +01:00
iska c2bbb7d9f6 Add source code documentation for the private CSS Selectors related classes 2015-12-21 17:18:45 +01:00
iska 244dd726b4 Add source code documentation for the public CSS Selectors 2015-12-21 17:18:21 +01:00
iska 032c428725 Add source code documentation for the CSS Selectors parsers 2015-12-21 17:17:51 +01:00
iska 8d672cf0cf Fix "lt", "gt" & "eq"-selectors declarations
Added missing index argument
2015-12-21 17:01:38 +01:00
iska 5354c7c934 Fix node filter initialization in HTML Node class 2015-12-21 16:52:11 +01:00
iska b99cb0c9d4 Change ":has" selector's behaviour to include all descendants instead of direct child elements. 2015-12-21 16:25:26 +01:00
iska 3c89df333c Add source code documentation for the ordered dictionary class 2015-12-21 15:42:32 +01:00
iska ad34deb7ac Add source code documentation for HTMLKit categories 2015-12-21 00:18:04 +01:00
iska 7ee8057d38 Add source code documentation for node filter, tree walker, namespaces and quirks modes 2015-12-21 00:07:50 +01:00
iska f2aff5f2ce Remove unused namespaces 2015-12-21 00:06:26 +01:00
iska 7a1bb21b33 Add source code documentation for all HTML Node subclasses 2015-12-20 23:35:34 +01:00
iska fd965e014d Add source documentation for the HTML Node 2015-12-20 19:11:52 +01:00
iska 9670e11fa5 Refactor private HTML Node methods into separate extension to hide them from public API 2015-12-20 19:08:25 +01:00
iska f4bd5420c0 Add source documentation for the Parser classes 2015-12-20 17:27:13 +01:00
iska e773117f1f Fix the returned object of the fragment parsing algorithm
- Return a non-nil empty array instead of nil when context element is nil
- Return a copy of the document root's child nodes instead of the "view"-array
- Use the root selector instead of the index-based access when rerunning the algorithm with the same context element
2015-12-20 16:42:08 +01:00
iska 4fabcdf76a Fix switch-state call in the Tokenizer for RAWTEXT End Tag state 2015-12-20 00:02:05 +01:00
iska bf147a6bb6 Remove redundant switch-state call in the Tokenizer 2015-12-20 00:02:05 +01:00
iska 0a620d74b6 Add source documentation for the Toknizer classes 2015-12-19 23:59:39 +01:00
iska 8893f28e4d Add HTML Element class-list property 2015-11-30 20:22:35 +01:00
iska d924063b02 Add implementation for a DOM Token List
https://dom.spec.whatwg.org/#interface-domtokenlist
2015-11-30 20:22:11 +01:00
iska 9815d3b39e Add nullability annotations throughout the code base 2015-11-30 02:49:58 +01:00
iska 1e30e4d86f Add HTML Node's querySelector & querySelectorAll methods 2015-11-29 19:54:23 +01:00
iska 188e5a0e56 Add missing check for nil-reference in the selector parser 2015-11-29 19:53:52 +01:00
iska 991e868d14 Add selector initializer for creating instances with a given selector string 2015-11-29 19:53:39 +01:00
iska 9d60a26622 Organize public headers and build phases for iOS 2015-11-29 18:44:43 +01:00
iska 49e060cd3c Organize public header imports 2015-11-29 18:09:58 +01:00
iska dac3cee3d8 Add missing imports to the umbrella CSS Selectors header 2015-11-29 18:04:24 +01:00
iska 9e4007dcba Use nullability annotations for HTML Ordered Dictionary 2015-11-29 03:29:12 +01:00
iska 13b8fe7808 Add CSS Selectors Parser implementation 2015-11-28 21:11:16 +01:00
iska 30dc6cf343 Add HTML Node method to count child elements 2015-11-28 21:09:44 +01:00
iska badf070907 Add HTMLKit error domain header 2015-11-28 21:09:25 +01:00
iska 3443321459 Add missing check in cosnume-character HTML stream method
Should only advance location if not reconsuming previous character
2015-11-28 21:08:39 +01:00
iska 60dc6bfc43 Fix nth-last-child selector 2015-11-28 21:07:10 +01:00
iska 60a5821a2c Fix general sibling combinator selector 2015-11-28 21:06:52 +01:00