summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove parameter documentation for non-existant parameter.Michael Drake2016-01-291-1/+0
|
* Don't add target event to list of capture/bubbling event targets.Michael Drake2016-01-291-4/+2
|
* Add function to get html element's tag type.Michael Drake2016-01-282-1/+22
|
* Store HTMLElement tag types as enum on the html elements.Michael Drake2016-01-286-7/+15
|
* Simplified consistant interface to HTMLElement creation.Michael Drake2016-01-28107-972/+894
| | | | Also fixes STYLE element not getting the correct namespace or prefix.
* Fix: Pass tag_name through to HTMLQuoteElement initialiser.Michael Drake2016-01-283-8/+9
| | | | | It needs to be given the tag_name, because it could have been created by a Q or BLOCKQUOTE element.
* Fix longstanding failure to handle HTMLDirectoryElement specialisation.Michael Drake2016-01-272-8/+5
| | | | | We were looking for DIRECTORY tags, but we should have been looking for DIR elements.
* Optimise HTMLElement specialisation slightly.Michael Drake2016-01-271-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 Drake2016-01-271-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 Drake2016-01-271-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 Drake2016-01-271-0/+8
|
* Fix up HTMLBaseElement specialisation.Michael Drake2016-01-272-12/+8
|
* Add missing detection of HTMLMetaElement specialisation.Michael Drake2016-01-271-0/+7
|
* Add missing detection of HTMLDivElement specialisation.Michael Drake2016-01-271-0/+8
|
* Add missing specialisation of BLOCKQUOTE.Michael Drake2016-01-271-0/+4
| | | | Both Q and BLOCKQUOTE share the HTMLQuoteElement specialisation.
* Enable table row HTML element specialisation.Michael Drake2016-01-271-0/+4
| | | | The code for it was always there, but it was never reached.
* Split detection of HTML TAG type out into helper.Michael Drake2016-01-271-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 Drake2016-01-2755-319/+402
| | | | | 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 Drake2016-01-221-0/+1
|
* Fix leak of dom string on error path. Coverity #1347877.Michael Drake2016-01-101-0/+1
|
* Create documents with initial URI of "about:blank".Michael Drake2016-01-071-3/+23
| | | | Clients can set the URI on a document with dom_document_set_uri()
* Remove call to non-existant function.Michael Drake2015-12-202-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.
* Ensure HTMLDocument uses Document's Node vtable so that .textContent is correctDaniel Silverstone2015-11-221-1/+1
|
* Fix event target listener destruction.Michael Drake2015-11-221-8/+16
|
* Add support for Event.eventPhaseDaniel Silverstone2015-11-011-0/+14
|
* Ensure we don't capture or bubble on targetDaniel Silverstone2015-11-011-2/+2
|
* Remove unused document from event_listener apiDaniel Silverstone2015-10-311-2/+1
|
* Tweak the types on namednodemapDaniel Silverstone2015-10-312-4/+4
|
* add async property to script elementVincent Sanders2015-10-311-0/+28
|
* HTML element attributes get lowercased.Michael Drake2015-10-312-4/+93
|
* Handle situation where we cleanup during target gatheringDaniel Silverstone2015-10-311-2/+2
|
* Fix end-of-event phasingDaniel Silverstone2015-10-311-13/+6
|
* Add a _FINISHED event action callbackDaniel Silverstone2015-10-311-0/+8
| | | | We can then use this for JS to hook cleanups into place.
* Update the html table cell element API to use dom_ulong where apropriateVincent Sanders2015-10-251-9/+9
|
* Update the html li element API to use dom_longVincent Sanders2015-10-251-2/+2
|
* Update the html pre element API to use dom_longVincent Sanders2015-10-251-2/+2
|
* Update the input element API to use dom_ulong where apropriateVincent Sanders2015-10-251-4/+4
|
* Update the image element API to use dom_ulong where apropriateVincent Sanders2015-10-251-16/+16
|
* add property getter and setter helpers for the dom_ulong typeVincent Sanders2015-10-252-0/+94
|
* Update olist to use dom_long typeVincent Sanders2015-10-231-2/+2
|
* Make HTMLDList IDL to c name mapping consistantVincent Sanders2015-10-233-45/+45
|
* Make HTMLOList IDL to c name mapping consistantVincent Sanders2015-10-233-61/+61
|
* Fix some doxygen warningsVincent Sanders2015-09-015-65/+64
|
* Remove invalid asserts for parameters which are no longer present.Vincent Sanders2015-09-011-6/+0
|
* Strip doc from event layerDaniel Silverstone2015-08-2125-130/+86
|
* Fix removal of event listeners.Michael Drake2015-08-011-1/+8
|
* gcc2 fixes.Adrien Destugues2015-03-214-20/+23
|
* Fix DoxygenDaniel Silverstone2014-11-151-1/+1
|
* Fix unref issue with html collection in applets callback. Coverity #1227072Daniel Silverstone2014-11-151-3/+4
|
* Fix resource leak with html collection creation in t_body code, Coverity ↵Daniel Silverstone2014-11-151-1/+1
| | | | #1227074