Commit Graph

31 Commits

Author SHA1 Message Date
iska d65463b4d6 Add implementation for Active Formatting Element Reconstruction
https://html.spec.whatwg.org/multipage/syntax.html#reconstruct-the-active-formatting-elements
2015-03-02 23:56:31 +01:00
iska cb9570c9e1 Add NSString category for HTML related methods
Also remove macros scattered throughout the code and use category consistently
2015-03-02 22:36:03 +01:00
iska 6ec1892f73 Move HTML Nodes into separate group 2015-02-28 01:45:52 +01:00
iska 11631c7c76 Add methods to check Doctype validity and its quirks mode 2015-02-28 00:57:50 +01:00
iska 79856255da Add header that imports all HTML Nodes for convenience 2015-02-28 00:56:35 +01:00
iska 83bca329ff Add initial stubs for HTML Document and Element nodes
https://dom.spec.whatwg.org/#interface-document
https://dom.spec.whatwg.org/#interface-element
2015-02-27 00:03:35 +01:00
iska 034a28deea Add HTML Text node
https://dom.spec.whatwg.org/#interface-text
2015-02-26 23:41:42 +01:00
iska c45adc581b Add HTML Comment node
https://dom.spec.whatwg.org/#interface-comment
2015-02-26 20:08:06 +01:00
iska 5e9846b8ea Add HTML Document Type node
https://dom.spec.whatwg.org/#interface-documenttype
2015-02-25 23:48:24 +01:00
iska da00182ff2 Add HTML Node interface
https://dom.spec.whatwg.org/#interface-node
2015-02-25 22:38:02 +01:00
iska f9c8743106 Add "tree construction dispatcher" and token handling stub
https://html.spec.whatwg.org/multipage/syntax.html#tree-construction
2015-02-21 14:30:44 +01:00
iska a59fec42e7 Add enum for HTML Namespaces 2014-11-08 02:08:42 +01:00
iska a23e1a13c9 Fix surrogate pair handling and remove Input Stream's separate error-reporting class
Upon reading a surrogate pair the scan location should be advanced by two characters instead of one
2014-10-31 22:32:34 +01:00
iska 2fa0e793e0 Replace dictionary with two arrays for Named Entity replacement
Currently the entity name is binary-searched and its replacement-value is accessed via found index
2014-10-31 18:25:54 +01:00
iska c04d4a35f3 Set performance baseline for tokenizing step 2014-10-31 18:07:18 +01:00
iska 7d9b66ff8d Add "HTML Standarad" html file to tests resource for benchmarking
As of the latest update (2014/10/23) the test file is 8.1MB
2014-10-26 02:01:48 +02:00
iska 8088d239df Add common test case class 2014-10-26 01:59:52 +02:00
iska 65bd4c15f1 Remove EOF token and replace it with a boolean 2014-10-26 01:53:46 +02:00
iska b7039aba1d Add html5lib tests folder to tests target supporting files 2014-10-26 01:52:05 +02:00
iska 0910290ef2 Add generic HTML5LibTest class for performing HTML5lib tests
https://github.com/html5lib/html5lib-tests
2014-10-25 17:35:58 +02:00
iska 5d3ea61a04 Refactor HTML Tokens into separate files 2014-10-23 23:52:43 +02:00
iska 98357f9d4b Add new virtual project group for Tokenizing implementation 2014-10-23 20:14:20 +02:00
iska 6daac059bd Add project file with entries for Element class
left out mistakenly in a previous commit: 22131d5ef1
2014-10-23 20:13:01 +02:00
iska e88f0ae3e3 Add class with Named Character Reference dictionary
https://html.spec.whatwg.org/multipage/syntax.html#named-character-references
2014-10-15 22:41:54 +02:00
iska 1043b5dabd Add header with HTML Insertion Modes enum
https://html.spec.whatwg.org/multipage/syntax.html#the-insertion-mode
2014-10-05 15:30:39 +02:00
iska 721839f54a Add class stub for HTML Parser 2014-10-04 21:58:25 +02:00
iska fb01febfca Add class stubs for HTML tokenizer implementation
https://html.spec.whatwg.org/multipage/syntax.html#tokenization
2014-09-20 23:04:23 +02:00
iska fb9dcaa608 Add several checks and error reporting while processing the input stream
Control and undefined character, isolated surrogates and carriage returns are handled according to the standard
2014-09-15 23:24:16 +02:00
iska 1fc1f1c71c Add initial implementation for a HTML Input Stream processor
http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#preprocessing-the-input-stream
2014-09-15 23:03:33 +02:00
iska b220b7d561 Add static library target for iOS build 2014-09-15 22:32:32 +02:00
iska d3be396ffc Add Xcode framework project for HTMLKit 2014-09-15 22:26:03 +02:00