summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Clean up the naming of a hack in the treebuilder.Andrew Sidwell2008-07-121-25/+26
| | | | svn path=/trunk/hubbub/; revision=4627
* Fixes to "after after body", "after after frameset", and "in frameset" so ↵Andrew Sidwell2008-07-113-6/+28
| | | | | | that the newly added tests pass. svn path=/trunk/hubbub/; revision=4624
* Fix the "reset the insertion mode" steps.Andrew Sidwell2008-07-111-0/+6
| | | | svn path=/trunk/hubbub/; revision=4622
* HTML5's <event-source> is now <eventsource>, so rename EVENT_SOURCE to ↵Andrew Sidwell2008-07-113-3/+3
| | | | | | EVENTSOURCE. svn path=/trunk/hubbub/; revision=4620
* Add element names to treebuilder.c, change scoping rules, and more SVG support.Andrew Sidwell2008-07-113-6/+26
| | | | svn path=/trunk/hubbub/; revision=4618
* Get SVG support up-to-spec.Andrew Sidwell2008-07-112-5/+77
| | | | svn path=/trunk/hubbub/; revision=4615
* Make at least a good start on SVG support (commented-out in the spec). Move ↵Andrew Sidwell2008-07-114-73/+200
| | | | | | foreign attribute name processing to in_foreign_content.c. svn path=/trunk/hubbub/; revision=4614
* Fix processing of end tags "in frameset".Andrew Sidwell2008-07-111-2/+0
| | | | svn path=/trunk/hubbub/; revision=4612
* Reprocess tokens after breaking out of foreign content.Andrew Sidwell2008-07-111-0/+2
| | | | svn path=/trunk/hubbub/; revision=4611
* Implement the "in scope" bit of "if is no element in scope that has a ↵Andrew Sidwell2008-07-111-1/+13
| | | | | | namespace other than the HTML namespace, switch the insertion mode to the secondary insertion mode". svn path=/trunk/hubbub/; revision=4610
* Add some comments and remember to switch back to in "in foreign content" ↵Andrew Sidwell2008-07-111-4/+15
| | | | | | after processing as if in the secondary insertion mode. svn path=/trunk/hubbub/; revision=4609
* Significantly refactor the "in foreign content" mode. Still doesn't work, ↵Andrew Sidwell2008-07-113-74/+50
| | | | | | but the logic is clearer and more correct. svn path=/trunk/hubbub/; revision=4608
* Tune up the foreign element support a bit.Andrew Sidwell2008-07-112-4/+17
| | | | svn path=/trunk/hubbub/; revision=4607
* Turn on basic MathML support.Andrew Sidwell2008-07-113-11/+31
| | | | svn path=/trunk/hubbub/; revision=4606
* Fix an uninitialised namespace value.Andrew Sidwell2008-07-111-0/+1
| | | | svn path=/trunk/hubbub/; revision=4605
* Commit hubbub_string_match_ci().Andrew Sidwell2008-07-112-0/+28
| | | | svn path=/trunk/hubbub/; revision=4604
* - Refactor out a case-insensitive hubbub_string compare functionAndrew Sidwell2008-07-113-44/+23
| | | | | | - Fix <input type="hidden"> handling in tables svn path=/trunk/hubbub/; revision=4603
* Export a hubbub_doctype type to create_doctype() directly, rather than ↵Andrew Sidwell2008-07-111-3/+2
| | | | | | passing all its members as individual arguments. svn path=/trunk/hubbub/; revision=4602
* Fix "in caption" handling.Andrew Sidwell2008-07-111-3/+5
| | | | svn path=/trunk/hubbub/; revision=4597
* - Ignore #document-fragment sections betterAndrew Sidwell2008-07-111-2/+0
| | | | | | - Remove a debugging statement svn path=/trunk/hubbub/; revision=4596
* - Fix html5lib test. (also committed upstream)Andrew Sidwell2008-07-111-0/+1
| | | | | | - Process XMP properly. svn path=/trunk/hubbub/; revision=4595
* Correctly ignore newline-only tokens in <pre> blocks.Andrew Sidwell2008-07-111-2/+3
| | | | svn path=/trunk/hubbub/; revision=4594
* Fix <script> handling in "after head".Andrew Sidwell2008-07-111-0/+22
| | | | svn path=/trunk/hubbub/; revision=4593
* Fix whitespace processing.Andrew Sidwell2008-07-111-9/+12
| | | | svn path=/trunk/hubbub/; revision=4592
* Fix <isindex> processing.Andrew Sidwell2008-07-111-3/+14
| | | | svn path=/trunk/hubbub/; revision=4590
* Fix up script and rcdata collection modes.Andrew Sidwell2008-07-112-24/+29
| | | | svn path=/trunk/hubbub/; revision=4587
* Fix up foster parenting a bit more. Make the current table calculated ↵Andrew Sidwell2008-07-114-45/+55
| | | | | | on-the-fly. svn path=/trunk/hubbub/; revision=4586
* Fix whitespace processing.Andrew Sidwell2008-07-111-1/+1
| | | | svn path=/trunk/hubbub/; revision=4584
* Fix up "after body" and "after after body" modes.Andrew Sidwell2008-07-112-1/+4
| | | | svn path=/trunk/hubbub/; revision=4583
* Get in-table fostering working for comments and text too.Andrew Sidwell2008-07-101-27/+40
| | | | svn path=/trunk/hubbub/; revision=4576
* When handling things as "in body" in the "Anything else" section of the "in ↵Andrew Sidwell2008-07-102-15/+13
| | | | | | | | | | table" insertion mode, for the text: "if the current node is a table, tbody, tfoot, thead, or tr element, then, whenever a node would be inserted into the current node, it must instead be foster parented. Change to evalute "current node" at insertion-time rather before handling as if "in body". svn path=/trunk/hubbub/; revision=4574
* Push elements onto the stack properly even if they are foster parented in ↵Andrew Sidwell2008-07-101-7/+7
| | | | | | tables. svn path=/trunk/hubbub/; revision=4572
* Reset current_table properly after shuffling the stack.Andrew Sidwell2008-07-101-0/+10
| | | | svn path=/trunk/hubbub/; revision=4570
* - Handle in_table_foster for element insertion (yet to do comment/character).Andrew Sidwell2008-07-103-31/+41
| | | | | | | - Fix test harness's insert_before() method. - Foster parenting now correctly taints the current table. svn path=/trunk/hubbub/; revision=4568
* Make sure all start tags get their namespace set.Andrew Sidwell2008-07-101-0/+4
| | | | svn path=/trunk/hubbub/; revision=4562
* Remove end-of-line whitespace around the adoption agency algorithm, so I ↵Andrew Sidwell2008-07-101-45/+47
| | | | | | don't end up doing it in future commits by mistake. svn path=/trunk/hubbub/; revision=4560
* Make element_type_from_name() available everywhere when debugging.Andrew Sidwell2008-07-102-1/+3
| | | | svn path=/trunk/hubbub/; revision=4558
* Add an explict null namespace to hubbub_ns.Andrew Sidwell2008-07-091-0/+4
| | | | svn path=/trunk/hubbub/; revision=4550
* Fix namespaces on manufactured elements.Andrew Sidwell2008-07-094-0/+4
| | | | svn path=/trunk/hubbub/; revision=4549
* Exorcise process_tag_in_body(), and just use handle_in_body() instead. This ↵Andrew Sidwell2008-07-0915-57/+16
| | | | | | makes all the tests "pass". svn path=/trunk/hubbub/; revision=4545
* - Fix process_character_expect_whitespace()'s idea of whitespace to match ↵Andrew Sidwell2008-07-093-8/+50
| | | | | | | | | | current spec. - Add a few more asserts (they can't hurt). - Fix infinite loop "in frameset" - Make the "after body" mode behave properly wrt character data svn path=/trunk/hubbub/; revision=4543
* Further table fixes, and minor tidying.John Mark Bell2008-07-094-12/+10
| | | | svn path=/trunk/hubbub/; revision=4542
* Remove invalid assertion -- </form> may occur in input data before any ↵John Mark Bell2008-07-091-4/+4
| | | | | | <form> is encountered. svn path=/trunk/hubbub/; revision=4541
* Fixes for in_cell and adoption agencyJohn Mark Bell2008-07-092-11/+13
| | | | svn path=/trunk/hubbub/; revision=4540
* Big testing hack to print the various insertion modes the treebuilder goes ↵Andrew Sidwell2008-07-091-23/+38
| | | | | | through. svn path=/trunk/hubbub/; revision=4539
* Fix handling of non-whitespace characters in table.John Mark Bell2008-07-082-5/+14
| | | | | | Make process_tag_in_body handle character tokens, rather than asserting. svn path=/trunk/hubbub/; revision=4531
* Fix processing of characters in after headJohn Mark Bell2008-07-082-3/+3
| | | | | | Fix process_characters_expect_whitespace to adjust the data offset to the first non-whitespace character, rather than to the end of the string. svn path=/trunk/hubbub/; revision=4530
* A bunch of fixes to table handlingJohn Mark Bell2008-07-076-20/+56
| | | | svn path=/trunk/hubbub/; revision=4525
* Fix an assertion.Andrew Sidwell2008-07-031-1/+1
| | | | svn path=/trunk/hubbub/; revision=4503
* Derefcount things which should be derefcounted.Andrew Sidwell2008-07-039-0/+70
| | | | svn path=/trunk/hubbub/; revision=4502