| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
This function is not particular to the parser, so should live in the DOM.
|
| |
|
|
|
|
|
|
|
| |
This removes the old code for asyncronously loading scripts during HTML
parsing and then executing them afterward.
Fixes #3356.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
75% improvement in style recalc for Guardians of the Galaxy.
|
| |
|
| |
|
|
|
|
| |
Fixes #3139
|
| |
|
| |
|
|
|
|
| |
Relevant to #2242.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Change all of the <Class>Methods traits to take `self` instead of
`&self`.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
attributes." for persistent test failures.
This reverts commit 874db261046d6155b1942efa106d2e0014295d6d.
|
|
|
|
| |
75% improvement in style recalc for Guardians of the Galaxy.
|
| |
|
|
|