Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix: HTMLInputElement's copy constructor copies its specialised members. | Michael Drake | 2016-02-05 | 1 | -0/+12 | |
| | ||||||
* | Provide generic copy constructor for HTMLInputElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLImageElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLIframeElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLHTMLElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLHRElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLHeadingElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLHeadElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLFramesetElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLFrameElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLFormElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLFontElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLFieldsetElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLDListElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLDivElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLDirectoryElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: HTMLButtonElement's copy constructor copies its specialised members. | Michael Drake | 2016-02-05 | 1 | -0/+4 | |
| | ||||||
* | Provide generic copy constructor for HTMLButtonElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLBRElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLBodyElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLBasefontElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLBaseElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLAreaElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLAppletElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Proper copy constructor for HTMLAnchorElement. | Michael Drake | 2016-02-05 | 2 | -3/+41 | |
| | ||||||
* | Fix: Implement HTMLElement copy constructor. | Michael Drake | 2016-02-05 | 2 | -1/+37 | |
| | | | | | It can't just use the Element copy constructor, as there is aditional stuff in the HTMLElement struct. | |||||
* | Add CENTER to list of HTML elements. | Michael Drake | 2016-02-04 | 1 | -0/+3 | |
| | ||||||
* | Add full list of HTML5 elements to enum. | Michael Drake | 2016-02-01 | 1 | -201/+305 | |
| | | | | | There is a TODO in the code, indicating the set of unimplemented HTMLElement specialisations. For now they fall back to HTMLElement. | |||||
* | Add function to get html element's tag type. | Michael Drake | 2016-01-28 | 2 | -1/+22 | |
| | ||||||
* | 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. | |||||
* | 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. | |||||
* | Fix longstanding failure to handle HTMLDirectoryElement specialisation. | Michael Drake | 2016-01-27 | 2 | -8/+5 | |
| | | | | | 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 | 55 | -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. | |||||
* | Ensure HTMLDocument uses Document's Node vtable so that .textContent is correct | Daniel Silverstone | 2015-11-22 | 1 | -1/+1 | |
| | ||||||
* | add async property to script element | Vincent Sanders | 2015-10-31 | 1 | -0/+28 | |
| | ||||||
* | HTML element attributes get lowercased. | Michael Drake | 2015-10-31 | 2 | -4/+93 | |
| | ||||||
* | Update the html table cell element API to use dom_ulong where apropriate | Vincent Sanders | 2015-10-25 | 1 | -9/+9 | |
| | ||||||
* | Update the html li element API to use dom_long | Vincent Sanders | 2015-10-25 | 1 | -2/+2 | |
| | ||||||
* | Update the html pre element API to use dom_long | Vincent Sanders | 2015-10-25 | 1 | -2/+2 | |
| |