aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-08363-51485/+0
|
* Avoid trying to trace a null JSVal.Ms2ger2014-09-071-1/+1
| | | | | JSVal::trace_kind() asserts that it is a markable type; null is a gcthing that is not markable.
* Merge pull request #3210 from seanmonstar/private-node-type-idJosh Matthews2014-09-061-1/+6
|\ | | | | make Node.type_id field private, access through type_id()
| * make Node.type_id field privateSean McArthur2014-09-051-1/+6
| |
* | Fix HTMLImageElement setters.Ms2ger2014-09-051-2/+2
|/ | | | | | | These would crash because the functions they call assert that they receive lower-case names. Fixing the crash allows reflection-embedded.html to finish successfully.
* Merge pull request #3164 from cgaebel/layout-rpcJosh Matthews2014-09-041-5/+4
|\ | | | | Avoid using message passing for simple JS -> Layout "rpc-like" queries.
| * Added a fast no-message RPC interface to the layout task.Clark Gaebel2014-09-041-5/+4
| |
* | Throw TypeErrors instead of uncatcheable exceptions in CodegenRust.py (fixes ↵Pierre Louis Aublin2014-09-041-5/+6
|/ | | | #347, #3065).
* Implement document.lastModified (fixes #2972, #3127).MechaXL2014-09-042-0/+17
|
* Handle failure to parse the value of the width and height attributes on ↵Ms2ger2014-09-031-2/+2
| | | | | | canvas elements (fixes #3200). The remaining failures are due to the tests's use of getComputedStyle.
* Implement the rules for parsing integers as defined by HTML, and use them ↵Ms2ger2014-09-031-4/+3
| | | | for canvas.
* Make some of Node's members private.Ms2ger2014-09-032-7/+8
|
* Move the script type and language checks into HTMLScriptElement.Ms2ger2014-09-021-2/+66
| | | | | This is IMO a more sensible place for them to live, and prepares for the demise of hubbub_html_parser.rs, as we move to html5ever.
* Share code between HTMLScriptElement:Text and Node:GetTextContentGilles Leblanc2014-08-302-18/+15
| | | | | | | Added a function in Node called collect_text_contents which is called from both places. Fixes #3157
* Merge pull request #3186 from wenderen/Window.framesMs2ger2014-08-302-0/+6
|\ | | | | implement window.frames; r=Manishearth
| * implement window.framesRohan Prinja2014-08-302-0/+6
| |
* | Rename AttrList to NamedNodeMapAaron Hill2014-08-294-18/+17
|/ | | | This fixes issue #3135
* Merge pull request #3183 from ChrisParis/callback-returnJosh Matthews2014-08-292-2/+2
|\ | | | | Support callback return types in codegen
| * Support callback return types in codegenChris Paris2014-08-282-2/+2
| |
* | Merge pull request #3178 from SimonSapin/canvas-crateSimon Sapin2014-08-291-1/+1
|\ \ | |/ |/| Add a canvas create, break script’s dependency on gfx.
| * Add a canvas create, break script’s dependency on gfx.Simon Sapin2014-08-281-1/+1
| | | | | | | | The build time on my laptop after touching gfx goes from 1m37s ot 46s.
* | Uppercase element.tagName for HTML elements onlyMatt Brubeck2014-08-281-8/+8
| | | | | | | | Fixes #3146
* | Introduce ConstantSpec::get_value.Ms2ger2014-08-281-9/+15
| | | | | | | | I'll need it for cross-origin wrappers as well.
* | Merge pull request #3175 from Ms2ger/propertyhooksMs2ger2014-08-282-3/+45
|\ \ | | | | | | Introduce the NativePropertyHooks struct; r=jdm
| * | Introduce the NativePropertyHooks struct.Ms2ger2014-08-282-3/+45
| |/ | | | | | | This will be required for the cross-origin wrapper work.
* | Merge pull request #3176 from Manishearth/more-macrosMs2ger2014-08-287-28/+7
|\ \ | |/ |/| Use macro getters for input elements: r=Ms2ger
| * Use macro getters for input elementsManish Goregaokar2014-08-287-28/+7
| |
* | Merge pull request #3145 from wenderen/NamespaceURI.NoneManish Goregaokar2014-08-272-3/+6
|\ \ | | | | | | return null from GetNamespaceURI, not the empty string; r=Manishearth, Ms2ger
| * | return null from GetNamespaceURI, not the empty stringRohan Prinja2014-08-272-3/+6
| | | | | | | | | | | | correctly mark tests
* | | Factor out code to call JS_DeletePropertyById2.Ms2ger2014-08-272-9/+15
| | | | | | | | | | | | I'll need to write the same code again for cross-origin wrappers.
* | | Nuke Node's TLayoutDataBruno de Oliveira Abinader2014-08-261-6/+0
| | | | | | | | | | | | LayoutData{Ref} structs replaced its usage for quite some time now.
* | | Update ProxyTraps to use real bools.Ms2ger2014-08-262-52/+57
| | |
* | | Cleaned DOMTokenList code duplicationBruno de Oliveira Abinader2014-08-251-22/+7
| | |
* | | Implement DOMTokenList.containsBruno de Oliveira Abinader2014-08-252-2/+26
| | |
* | | Use AttrValue::tokens() in Element::has_class()Bruno de Oliveira Abinader2014-08-251-4/+6
| | |
* | | Implemented Attribute's tokens() iteratorBruno de Oliveira Abinader2014-08-251-17/+13
| | |
* | | Fixed AttrValue::from_tokenlist indexesBruno de Oliveira Abinader2014-08-251-1/+6
|/ / | | | | | | | | | | The following issues were found: - Single concatenated spaces were indexed as a single token; - Last token, if not followed by an HTML space character, was ignored;
* | Implement cache for remaining Document live collectionsBruno de Oliveira Abinader2014-08-221-49/+90
| |
* | Make AttrValue::as_slice impl from StrBruno de Oliveira Abinader2014-08-221-1/+4
| |
* | Use Attr::value() whenever possibleBruno de Oliveira Abinader2014-08-221-3/+3
| |
* | Merge pull request #3095 from ChrisParis/HTMLScriptElement.textMs2ger2014-08-222-3/+26
|\ \ | | | | | | Implement HTMLScriptElement.text; r=Ms2ger
| * | Improve Option deconstructionChris Paris2014-08-161-3/+4
| | |
| * | Implement HTMLScriptElement.textChris Paris2014-08-152-3/+25
| | |
* | | Merge pull request #3086 from ChrisParis/HTMLAnchorElement.textMs2ger2014-08-212-1/+16
|\ \ \ | |_|/ |/| | Implement HTMLAnchorElement.text; r=Manishearth
| * | Implement HTMLAnchorElement.textChris Paris2014-08-152-1/+16
| | |
* | | Merge pull request #3121 from Ms2ger/sorted-dictionariesMs2ger2014-08-201-23/+0
|\ \ \ | | | | | | | | Stop resorting dictionaries; r=abinader
| * | | Stop resorting dictionaries.Ms2ger2014-08-201-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | Rust is more forgiving about the order of definitions than C++, so there is no need to try to sort them. Worse, the "sorting" actually causes the order in the generated file to be non-deterministic.
* | | | Merge pull request #3073 from Manishearth/macro-gettersManish Goregaokar2014-08-202-41/+54
|\ \ \ \ | | | | | | | | | | Create and use attribute getter macros; r=Ms2ger
| * | | | Split up macro invocationManish Goregaokar2014-08-203-40/+63
| | | | |
| * | | | Use getter macros in HTMLImageElementManish Goregaokar2014-08-192-65/+8
| | | | |