Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add function to get html element's tag type. | Michael Drake | 2016-01-28 | 4 | -1/+41 |
| | |||||
* | Style: Fix indentation and tidy up. | Michael Drake | 2016-01-28 | 1 | -66/+78 |
| | |||||
* | Store HTMLElement tag types as enum on the html elements. | Michael Drake | 2016-01-28 | 6 | -7/+15 |
| | |||||
* | Simplified consistant interface to HTMLElement creation. | Michael Drake | 2016-01-28 | 107 | -972/+894 |
| | | | | Also fixes STYLE element not getting the correct namespace or prefix. | ||||
* | Merge branch 'tlsa/html-element-type' | Michael Drake | 2016-01-28 | 3 | -8/+9 |
|\ | |||||
| * | Fix: Pass tag_name through to HTMLQuoteElement initialiser. | Michael Drake | 2016-01-28 | 3 | -8/+9 |
|/ | | | | | It needs to be given the tag_name, because it could have been created by a Q or BLOCKQUOTE element. | ||||
* | Merge branch 'tlsa/html-element-type' | Michael Drake | 2016-01-27 | 59 | -356/+777 |
|\ | |||||
| * | Fix longstanding failure to handle HTMLDirectoryElement specialisation. | Michael Drake | 2016-01-27 | 3 | -9/+6 |
| | | | | | | | | | | We were looking for DIRECTORY tags, but we should have been looking for DIR elements. | ||||
| * | Optimise HTMLElement specialisation slightly. | Michael Drake | 2016-01-27 | 1 | -189/+222 |
| | | | | | | | | | | | | | | Gets the byte length of the tag names string, and splits the comparison ladder into ladders for different string lengths. This reduces the amount of dom_string_isequal() calls we need to do. | ||||
| * | Optimise element specialisation: use non-caseless comparison in ladder. | Michael Drake | 2016-01-27 | 1 | -63/+63 |
| | | | | | | | | | | | | | | We know for sure both things are upper case, so using the caseless version is needlessly slow, since it will need to lowercase both (if lowercase version's don't already exist) and compare the lower case versions. | ||||
| * | Remove default from HTML element specialisation switch. | Michael Drake | 2016-01-27 | 1 | -1/+0 |
| | | | | | | | | | | | | Now that everything is handled we can remove the default, and it should be obvious in future if something is added to the list of elements but not properly handled. | ||||
| * | Add missing detection of HTMLBaseElement specialisation. | Michael Drake | 2016-01-27 | 1 | -0/+8 |
| | | |||||
| * | Fix up HTMLBaseElement specialisation. | Michael Drake | 2016-01-27 | 2 | -12/+8 |
| | | |||||
| * | Add missing detection of HTMLMetaElement specialisation. | Michael Drake | 2016-01-27 | 1 | -0/+7 |
| | | |||||
| * | Add missing detection of HTMLDivElement specialisation. | Michael Drake | 2016-01-27 | 1 | -0/+8 |
| | | |||||
| * | Add missing specialisation of BLOCKQUOTE. | Michael Drake | 2016-01-27 | 1 | -0/+4 |
| | | | | | | | | Both Q and BLOCKQUOTE share the HTMLQuoteElement specialisation. | ||||
| * | Enable table row HTML element specialisation. | Michael Drake | 2016-01-27 | 1 | -0/+4 |
| | | | | | | | | The code for it was always there, but it was never reached. | ||||
| * | Split detection of HTML TAG type out into helper. | Michael Drake | 2016-01-27 | 1 | -138/+325 |
| | | | | | | | | | | | | | | | | | | This moves the massive dom_string comparison ladder out into a separate function, and switches on the result. Using a switch here has highlighted multiple issues: - Various html element specialisations were missed out. - Both TD elements were in the ladder twice. | ||||
| * | Split out tag names from general string table and enum. | Michael Drake | 2016-01-27 | 57 | -324/+502 |
|/ | | | | | Previously these were mixed in the the document's general memoised strings. This also gives us an enum by which HTML elements can be identified. | ||||
* | Unref document uri on finalisation. | Michael Drake | 2016-01-22 | 1 | -0/+1 |
| | |||||
* | Fix leak of dom string on error path. Coverity #1347877. | Michael Drake | 2016-01-10 | 1 | -0/+1 |
| | |||||
* | Create documents with initial URI of "about:blank". | Michael Drake | 2016-01-07 | 1 | -3/+23 |
| | | | | Clients can set the URI on a document with dom_document_set_uri() | ||||
* | Remove call to non-existant function. | Michael Drake | 2015-12-20 | 2 | -25/+1 |
| | | | | | | There was no implementation of dom_document_get_base, and call to it were trying to run code at 0x0. Replace with call to dom_document_get_uri instead. | ||||
* | Update Component version for releaserelease/0.2.0 | Vincent Sanders | 2015-12-18 | 1 | -2/+2 |
| | |||||
* | Ensure HTMLDocument uses Document's Node vtable so that .textContent is correct | Daniel Silverstone | 2015-11-22 | 1 | -1/+1 |
| | |||||
* | Fix event target listener destruction. | Michael Drake | 2015-11-22 | 1 | -8/+16 |
| | |||||
* | Add support for Event.eventPhase | Daniel Silverstone | 2015-11-01 | 2 | -0/+19 |
| | |||||
* | Ensure we don't capture or bubble on target | Daniel Silverstone | 2015-11-01 | 1 | -2/+2 |
| | |||||
* | Remove unused document from event_listener api | Daniel Silverstone | 2015-10-31 | 2 | -3/+2 |
| | |||||
* | Tweak the types on namednodemap | Daniel Silverstone | 2015-10-31 | 3 | -6/+7 |
| | |||||
* | add async property to script element | Vincent Sanders | 2015-10-31 | 2 | -0/+34 |
| | |||||
* | Update character data get length property to use dom unsigned long | Vincent Sanders | 2015-10-31 | 2 | -2/+3 |
| | |||||
* | HTML element attributes get lowercased. | Michael Drake | 2015-10-31 | 2 | -4/+93 |
| | |||||
* | Handle situation where we cleanup during target gathering | Daniel Silverstone | 2015-10-31 | 1 | -2/+2 |
| | |||||
* | Fix end-of-event phasing | Daniel Silverstone | 2015-10-31 | 1 | -13/+6 |
| | |||||
* | Add a _FINISHED event action callback | Daniel Silverstone | 2015-10-31 | 2 | -1/+10 |
| | | | | We can then use this for JS to hook cleanups into place. | ||||
* | Update the html table cell element API to use dom_ulong where apropriate | Vincent Sanders | 2015-10-25 | 8 | -20/+22 |
| | |||||
* | Update the html li element API to use dom_long | Vincent Sanders | 2015-10-25 | 2 | -4/+6 |
| | |||||
* | Update the html pre element API to use dom_long | Vincent Sanders | 2015-10-25 | 2 | -4/+6 |
| | |||||
* | Update the input element API to use dom_ulong where apropriate | Vincent Sanders | 2015-10-25 | 3 | -7/+9 |
| | |||||
* | Update the image element API to use dom_ulong where apropriate | Vincent Sanders | 2015-10-25 | 6 | -28/+29 |
| | |||||
* | add property getter and setter helpers for the dom_ulong type | Vincent Sanders | 2015-10-25 | 3 | -0/+95 |
| | |||||
* | allow tests to use the unsigned long type for testing dom_ulong interfaces | Vincent Sanders | 2015-10-25 | 3 | -1/+10 |
| | |||||
* | Update olist to use dom_long type | Vincent Sanders | 2015-10-23 | 2 | -4/+5 |
| | |||||
* | Introduce integer types as defined in IDL specification | Vincent Sanders | 2015-10-23 | 3 | -1/+35 |
| | |||||
* | Make HTMLDList IDL to c name mapping consistant | Vincent Sanders | 2015-10-23 | 5 | -52/+53 |
| | |||||
* | Make HTMLOList IDL to c name mapping consistant | Vincent Sanders | 2015-10-23 | 5 | -76/+77 |
| | |||||
* | Fix some doxygen warnings | Vincent Sanders | 2015-09-01 | 7 | -72/+72 |
| | |||||
* | Remove invalid asserts for parameters which are no longer present. | Vincent Sanders | 2015-09-01 | 1 | -6/+0 |
| | |||||
* | Strip doc from event layer | Daniel Silverstone | 2015-08-21 | 26 | -130/+89 |
| |