aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlscriptelement.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Move build_element_from_tag out of the HTML parser.Ms2ger2014-10-301-1/+1
| | | | This function is not particular to the parser, so should live in the DOM.
* Implement cloning steps for script elementMatt Brubeck2014-10-291-2/+16
|
* Switch to synchronous script loadingMatt Brubeck2014-10-291-6/+57
| | | | | | | This removes the old code for asyncronously loading scripts during HTML parsing and then executing them afterward. Fixes #3356.
* Infrastructure for synchronous script loadingMatt Brubeck2014-10-291-7/+135
| | | | | | This implements the parts of the "prepare a script element" algorithm that are required for synchronous scripts. It also adds some infrastructure for future support of the `async` and `defer` attributes.
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* script: Use atom comparison in more places, especially for attributes.Patrick Walton2014-10-141-3/+5
| | | | 75% improvement in style recalc for Guardians of the Galaxy.
* Privatize EventTarget and EventListenerEntryTim Taubert2014-10-131-1/+1
|
* Privatize InheritTypesTim Taubert2014-10-131-1/+2
|
* Take the prefix from createElementNS into account for HTML elementsGilles Leblanc2014-10-061-4/+4
| | | | Fixes #3139
* Use string-cache's Namespace typeKeegan McAllister2014-09-291-3/+2
|
* Upgrade to rustc d2b30f7d3 2014-09-23Simon Sapin2014-09-291-1/+1
|
* Made some DOM fields private.ProgramFOX2014-09-261-1/+1
| | | | Relevant to #2242.
* Use JSTraceable everywhereManish Goregaokar2014-09-241-1/+1
|
* Convert various helper traits from &JSRef to JSRefCameron Zwarich2014-09-201-3/+3
| | | | | | | | | | | | | | | I converted them all with a few exceptions: - Methods that were used by trait objects, since trait objects don't work with `self` methods. - Methods that take an &'b JSRef<'a, T> and return an &'b. In reality, many (all?) could return an &'a instead, but this isn't allowed by the Deref trait. - Methods that internally rely on the same issue with Deref. - I left out the traits involved in layout entirely, even though not all of their methods suffer from one of the above problems. There will probably be solutions to all of these problems in the future.
* More progress in the &JSRef -> JSRef conversionCameron Zwarich2014-09-201-6/+6
| | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-6/+6
| | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally.
* Revert "script: Use atom comparison in more places, especially for ↵Josh Matthews2014-09-181-6/+3
| | | | | | attributes." for persistent test failures. This reverts commit 874db261046d6155b1942efa106d2e0014295d6d.
* script: Use atom comparison in more places, especially for attributes.Patrick Walton2014-09-171-3/+6
| | | | 75% improvement in style recalc for Guardians of the Galaxy.
* Use #[must_root] for HTMLElementsManish Goregaokar2014-09-171-0/+2
|
* Cargoify servoJack Moffitt2014-09-081-0/+130