Commit Graph

  • cffe1cc703 Fix validation for replacing a child node and refactor common logic into a block iska 2015-04-25 22:25:31 +02:00
  • bc6bbf1d63 Add tests for validation for inserting an Element & Document Type into a Document iska 2015-04-25 15:27:25 +02:00
  • 71aed89574 Fix validation for inserting a Document Fragment into a Document iska 2015-04-25 13:21:40 +02:00
  • 36960dceb3 Rename node parameter in the validation method of HTML Node for clarity iska 2015-04-25 13:21:08 +02:00
  • 3ddfa15b15 Add tests to validate the insertions of nodes into a given parent iska 2015-04-25 13:20:15 +02:00
  • 071742fb27 Add default initializers for HTML Comment, Document Type & Document Fragment iska 2015-04-25 13:17:02 +02:00
  • 1bc896efc9 Add tests for HTML Node methods iska 2015-04-23 00:43:06 +02:00
  • 429f00adb6 Fix project settings after update to Xcode 6.3.1 iska 2015-04-23 00:40:35 +02:00
  • d08ac2100e Fix the isEqualTo call in Parser iska 2015-04-21 23:07:57 +02:00
  • 07c17bf7b2 Merge branch 'release/0.1.0' 0.1.0 iska 2015-04-20 21:51:38 +02:00
  • 62a6336dce Merge branch 'release/0.1.0' into develop iska 2015-04-20 21:51:38 +02:00
  • 95aa60a6e0 Add README file with initial description iska 2015-04-20 21:51:30 +02:00
  • 150d49b010 Add MIT License iska 2015-04-19 20:33:53 +02:00
  • 5aaa223437 Improve error message for the Tokenizer tests iska 2015-04-17 00:53:12 +02:00
  • 1af7e9ea89 Reorder test classes and their groups iska 2015-04-17 00:45:15 +02:00
  • 1829af229a Add Ordered Dictionary tests iska 2015-04-17 00:43:47 +02:00
  • 27c020371d Rename NSString category method for clarity and add category tests iska 2015-04-16 20:37:49 +02:00
  • 575dbc50d4 Add HTML Parser implementation for the <template> tag iska 2015-04-16 20:03:18 +02:00
  • 654dffcc92 Add initial implementation for HTML Template & Document Fragment iska 2015-04-15 23:18:04 +02:00
  • 01adbf4437 Fix method name typo in stack of open elements iska 2015-04-13 00:28:23 +02:00
  • dbae9dd55f Organize source code into groups iska 2015-04-12 19:48:48 +02:00
  • 4ddf8e60fd Remove the dynamic selector-state-machine from the parser class iska 2015-04-12 19:45:50 +02:00
  • c524b25051 Add HTML5 Lib's test detail message to all assertions in the Tree Construction tests iska 2015-04-12 18:23:54 +02:00
  • d8a55db4dc Change the implementation of the character token and string methods to reduce initialization overhead iska 2015-04-12 18:23:27 +02:00
  • 0911e46dba Add HTMLKit Parser Performance test iska 2015-04-12 18:21:12 +02:00
  • af55cf01cb Reinitialize the tokenizer when parsing the same input as a fragment case multiple times iska 2015-04-11 22:34:07 +02:00
  • 40f4ce4cb1 Remove the dynamic selector-state-machine from the tokenizer class iska 2015-04-11 22:24:36 +02:00
  • 4158ef0237 Use a accumulator-character-token in the tokenizer to reduce the initialization overhead iska 2015-04-11 22:06:46 +02:00
  • 936c76d142 Remove the superfluous allObjects method from the tokenizer class iska 2015-04-11 21:47:55 +02:00
  • 8bfccb124f Use the debug description for Tree Construction tests which dumps a tree structure iska 2015-04-11 21:44:40 +02:00
  • 0ac909fb66 Add HTML5 Lib Tree Construction tests iska 2015-04-11 00:51:37 +02:00
  • 067e8c7cc7 Fix insertion mode switch in the "after frameset" phase iska 2015-04-11 00:45:30 +02:00
  • 68d4eb03ce Fix tag-name check for "td" & "th" end-tag handling in "in cell" phase iska 2015-04-11 00:44:20 +02:00
  • 23f8ec35fb Fix element-in-scope check for end-tag handling in "in body" phase iska 2015-04-11 00:43:18 +02:00
  • bf30dd85b9 Fix token-cast when adjusting the foreign attributes for token iska 2015-04-11 00:42:07 +02:00
  • 2a2a21d1fa Fix assignment for the character token in the "in table" phase iska 2015-04-11 00:40:12 +02:00
  • ca02086636 Change while-loop to a for-loop in the any-other-end-tag in "in body" phase iska 2015-04-11 00:39:26 +02:00
  • 327f2a6679 Fix character token handling in the "foreign" insertion mode iska 2015-04-11 00:38:16 +02:00
  • 50761a1444 Fix switch in the "select" start tag in the "in body" insertion mode iska 2015-04-11 00:37:29 +02:00
  • db0bb51bc5 Fix the "isindex" attributes handling in the "in body" insertion mode iska 2015-04-11 00:36:37 +02:00
  • 27817fb7ec Fix start-tag handling for "object" tags in the "in body" insertion mode iska 2015-04-11 00:36:02 +02:00
  • 7c1b04e9a4 Fix start-tag handling for the "li", "dd" & "dt" case in the "in body" insertion mode iska 2015-04-11 00:35:13 +02:00
  • 082d573cf3 Fix "frameset" case in the start-tag handling of the "in body" insertion mode iska 2015-04-11 00:34:27 +02:00
  • 99ea01a908 Fix character token handling in the "in body" insertion mode iska 2015-04-11 00:33:43 +02:00
  • abad8f0a62 Fix "frameset" case in the "after head" insertion mode iska 2015-04-11 00:33:03 +02:00
  • 8007b4817c Fix reseting-the-insertion-mode method iska 2015-04-11 00:32:20 +02:00
  • 280339e2f0 Fix adoption agency algorithm iska 2015-04-11 00:31:37 +02:00
  • aa008900c9 Fix the input stream reader method for the CDATA Section state iska 2015-04-11 00:18:39 +02:00
  • 27375e3a47 Fix the default case in the "after after frameset" phase iska 2015-04-09 21:24:14 +02:00
  • 34e88898f2 Fix inserting comment calls in the "initial" & the "after head" insertion modes iska 2015-04-09 21:23:25 +02:00
  • e362bf717f Add length-check for the character token when ignoring a line-feed character after <textarea> iska 2015-04-09 21:22:16 +02:00
  • b6d30da180 Fix initializing tokenizer state in the parser iska 2015-04-09 21:21:34 +02:00
  • bf821fb70d Fix MatML attribute adjustment iska 2015-04-09 21:20:50 +02:00
  • c60f308ca5 Fix HTML Element copy method iska 2015-04-09 21:20:04 +02:00
  • 2c387c13ef Add parameterless initializer for the DOCTYPE Token iska 2015-04-08 21:48:12 +02:00
  • 7ca60ea53a Add nil-check for the input string when initializing the parser iska 2015-04-08 20:41:40 +02:00
  • 2f58d1364a Add nil-check in the tokenizer when emitting a nil-string as character token iska 2015-04-08 20:41:04 +02:00
  • 1b05db8e36 Fix tokenizer's CDATA-Section state iska 2015-04-08 20:40:43 +02:00
  • 61f4f01288 Add nil-check when clearing the active formatting elements upto last marker iska 2015-04-08 20:40:03 +02:00
  • 4231cc9608 Fix scanning input stream upto a given string iska 2015-04-08 20:39:33 +02:00
  • 79402946ec Fix the "after frameset" insertion mode handling for "noframes" start tag and "html" end tag iska 2015-04-08 20:37:53 +02:00
  • e34456f269 Add parser method to adjust token's foreign attributes iska 2015-04-08 00:53:41 +02:00
  • d6f5434ab8 Add implementation for text-content in the HTML Element iska 2015-04-08 00:29:00 +02:00
  • 72efa18a22 Rename HTML Element's id attribute iska 2015-04-08 00:10:04 +02:00
  • f3a8c1a0ec Rename HTML Element's namespace attribute iska 2015-04-08 00:08:00 +02:00
  • 988e175533 Fix check in tokenizer's Markup Declaration Open state iska 2015-04-07 23:40:47 +02:00
  • 4a041a1f11 Fix c-string in the "in-caption" end-tag handling iska 2015-04-07 01:01:15 +02:00
  • 8cbd6220c8 Fix "li" end-tag case in the "in-body" insertion mode iska 2015-04-07 00:59:59 +02:00
  • 99579ff5eb Add several missing "reprocess token" calls in the parser iska 2015-04-07 00:59:21 +02:00
  • 83ece1af93 Add method to insert comment without specifying parent node in the parser iska 2015-04-07 00:58:37 +02:00
  • dabf24fa1c Change block-based implementation the "in-body" start-tag handling for "li", "dd" & "dt" to for-loop iska 2015-04-05 18:00:20 +02:00
  • e5738cc48f Fix "in-table-row" phase's common case iska 2015-04-05 17:58:39 +02:00
  • b65d602d12 Fix "in-table-body" phase's common case iska 2015-04-05 17:57:31 +02:00
  • 89ff209f2d Add missing case in the "in-table" start-tag handling iska 2015-04-05 17:55:58 +02:00
  • c020e3ba6a Fix character-token case in the "in-table-text" phase iska 2015-04-05 13:53:55 +02:00
  • 919e7f8790 Remove wrong-entry from the "in-body" phase's start-tag-handling iska 2015-04-05 13:46:16 +02:00
  • c25210b812 Fix inserting-characters method when the appropriate place for insertion is not as a last-node iska 2015-04-05 13:44:58 +02:00
  • d38f6df2d7 Fix premature check-and-return in the tree-construction-dispatcher iska 2015-04-05 13:43:10 +02:00
  • 439f6aba19 Refactor blocks-based implementation to simple while-loops in the reconstruct-active-formatting-elements iska 2015-04-05 13:35:31 +02:00
  • 3df247f91f Add HTML Node method to pass own child nodes to another node iska 2015-04-05 13:33:46 +02:00
  • 664e555347 Add index-bounds-check to the list of active formatting elements when inserting at index iska 2015-04-05 13:31:59 +02:00
  • c369abbfee Add "Noah's Ark Clause", three per family, to the list of active formatting elements iska 2015-04-05 13:30:34 +02:00
  • a62ccfdc51 Fix loop in the "foreign content" phase's end-tag handling iska 2015-04-05 13:28:31 +02:00
  • caba3efd95 Fix "in-row" insertion mode and add the corresponding logic to clear the stack back to row context iska 2015-04-05 13:27:45 +02:00
  • b73be50e2b Add nil-checks for popping-methods in stack of open elements iska 2015-04-05 13:26:39 +02:00
  • 31178b32cd Add debug-description methods for HTML Node and Parser's structures iska 2015-04-04 22:57:27 +02:00
  • d1a4aeb5e1 Add HTML Parser methods for parsing a document and document fragments iska 2015-04-04 02:30:08 +02:00
  • 5a140220b1 Fix HTML Node parent-related property references to "weak" iska 2015-04-04 02:17:42 +02:00
  • 418913991d Fix HTML Node owner-document getter method iska 2015-04-04 02:16:15 +02:00
  • bdb2e86968 Fix parent-node-setting in HTML Node insertion methods iska 2015-04-04 02:15:37 +02:00
  • 4151bf8b7a Add HTML Node methods to append an array of nodes and remove all child nodes iska 2015-04-04 02:14:37 +02:00
  • d14c1b5ae1 Fix setting document type in HTML Document iska 2015-04-04 02:14:06 +02:00
  • c0f6639a60 Add missing SVG-element-name-case adjustment in the foreign-content processing iska 2015-04-01 01:09:41 +02:00
  • fc89010c1c Fix HTML Element description when a namespace is used iska 2015-04-01 01:08:45 +02:00
  • d716c3a678 Add Document Type to the children-nodes list in the HTML Document iska 2015-04-01 01:08:23 +02:00
  • 5562875237 Fix Tokenizer bug in DataDoubleEscapeEnd state iska 2015-04-01 01:07:52 +02:00
  • 8add9d1794 Fix Tokenizer bug in DataDoubleEscapeStart state iska 2015-04-01 01:07:33 +02:00
  • 36b74b5766 Add HTML fragment serialization (inner & outer HTML) iska 2015-03-31 01:01:41 +02:00
  • 0535cdbbb3 Fix key-check in the Ordered Dictionary class iska 2015-03-30 23:32:15 +02:00
  • 880f36ee05 Group enumeration method together in the Node class iska 2015-03-30 23:31:58 +02:00