Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix crash when closing window containing video element (#31413) | Josh Matthews | 2024-02-23 | 1 | -0/+9 |
| | | | | | * Forbid casting DOM objects when JS runtime is shutting down. * Remove media controls from document when element is removed from the tree. | ||||
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -4/+3 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -4/+4 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -4/+7 |
| | |||||
* | Assert that DOM structs have the correct first field | Manish Goregaokar | 2018-07-03 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOM structs embed their parent type as their first field. This introduces a `.parent()` method to the DOM struct that returns its first field, and codegens a type assert that ensures that `.parent()` returns the parent struct. This generates: On `#[dom_struct]`: ```rust impl HasParent for Type { type Parent = ParentType; fn as_parent(&self) -> ParentType { &self.first_field } } ``` In the codegen files: ```rust impl Type { fn __assert_parent_type(&self) { let _: &ParentType = self.as_parent(); } } ```` | ||||
* | Rename `Reflectable` to `DomObject`. | Corey Farwell | 2016-12-08 | 1 | -2/+2 |
| | | | | Fixes https://github.com/servo/servo/issues/8473. | ||||
* | Reorder `use` statements | UK992 | 2016-09-09 | 1 | -1/+1 |
| | |||||
* | Rustfmt some of script. | Ms2ger | 2015-11-18 | 1 | -6/+11 |
| | |||||
* | remove unneeded import + reexport InheritTypes from inheritance | rohan.prinja | 2015-10-30 | 1 | -0/+2 |
| | |||||
* | more refactoring | rohan.prinja | 2015-10-30 | 1 | -1/+3 |
| | |||||
* | move Castable into dom::bindings::inheritance | rohan.prinja | 2015-10-30 | 1 | -0/+34 |